/*
 * drivers/clk/sunxi/clk-sun8iw6_tbl.c
 *
 * Copyright (c) 2007-2019 Allwinnertech Co., Ltd.
 * Author: zhengxiaobin <zhengxiaobin@allwinnertech.com>
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */
#include "clk-sun8iw6.h"
/*
 * freq table from hardware, need follow rules
 * 1)   each table  named as
 *      factor_pll1_tbl
 *      factor_pll2_tbl
 *      ...
 * 2) for each table line
 *      a) follow the format PLLx(n, k, m, p, d1, d2, freq), and keep the
 *         factors order
 *      b) if any factor not used, skip it
 *      c) the factor is the value to write registers, not means factor + 1
 *
 *      example
 *      PLL1(9, 0, 0, 2, 60000000) means PLL1(n, k, m, p, freq)
 *      PLLVIDEO0(3, 0, 96000000) means PLLVIDEO0(n, m, freq)
 *
 */

 /* F_N8X8_P16x1 */
struct sunxi_clk_factor_freq factor_pllcpu0_tbl[] = {
PLLCPU(12,       0, 288000000U),
PLLCPU(13,       0, 312000000U),
PLLCPU(14,       0, 336000000U),
PLLCPU(15,       0, 360000000U),
PLLCPU(16,       0, 384000000U),
PLLCPU(17,       0, 408000000U),
PLLCPU(18,       0, 432000000U),
PLLCPU(19,       0, 456000000U),
PLLCPU(20,       0, 480000000U),
PLLCPU(21,       0, 504000000U),
PLLCPU(22,       0, 528000000U),
PLLCPU(23,       0, 552000000U),
PLLCPU(24,       0, 576000000U),
PLLCPU(25,       0, 600000000U),
PLLCPU(26,       0, 624000000U),
PLLCPU(27,       0, 648000000U),
PLLCPU(28,       0, 672000000U),
PLLCPU(29,       0, 696000000U),
PLLCPU(30,       0, 720000000U),
PLLCPU(31,       0, 744000000U),
PLLCPU(32,       0, 768000000U),
PLLCPU(33,       0, 792000000U),
PLLCPU(34,       0, 816000000U),
PLLCPU(35,       0, 840000000U),
PLLCPU(36,       0, 864000000U),
PLLCPU(37,       0, 888000000U),
PLLCPU(38,       0, 912000000U),
PLLCPU(39,       0, 936000000U),
PLLCPU(40,       0, 960000000U),
PLLCPU(41,       0, 984000000U),
PLLCPU(42,       0, 1008000000U),
PLLCPU(43,       0, 1032000000U),
PLLCPU(44,       0, 1056000000U),
PLLCPU(45,       0, 1080000000U),
PLLCPU(46,       0, 1104000000U),
PLLCPU(47,       0, 1128000000U),
PLLCPU(48,       0, 1152000000U),
PLLCPU(49,       0, 1176000000U),
PLLCPU(50,       0, 1200000000U),
PLLCPU(51,       0, 1224000000U),
PLLCPU(52,       0, 1248000000U),
PLLCPU(53,       0, 1272000000U),
PLLCPU(54,       0, 1296000000U),
PLLCPU(55,       0, 1320000000U),
PLLCPU(56,       0, 1344000000U),
PLLCPU(57,       0, 1368000000U),
PLLCPU(58,       0, 1392000000U),
PLLCPU(59,       0, 1416000000U),
PLLCPU(60,       0, 1440000000U),
PLLCPU(61,       0, 1464000000U),
PLLCPU(62,       0, 1488000000U),
PLLCPU(63,       0, 1512000000U),
PLLCPU(64,       0, 1536000000U),
PLLCPU(65,       0, 1560000000U),
PLLCPU(66,       0, 1584000000U),
PLLCPU(67,       0, 1608000000U),
PLLCPU(68,       0, 1632000000U),
PLLCPU(69,       0, 1656000000U),
PLLCPU(70,       0, 1680000000U),
PLLCPU(71,       0, 1704000000U),
PLLCPU(72,       0, 1728000000U),
PLLCPU(73,       0, 1752000000U),
PLLCPU(74,       0, 1776000000U),
PLLCPU(75,       0, 1800000000U),
PLLCPU(76,       0, 1824000000U),
PLLCPU(77,       0, 1848000000U),
PLLCPU(78,       0, 1872000000U),
PLLCPU(79,       0, 1896000000U),
PLLCPU(80,       0, 1920000000U),
PLLCPU(81,       0, 1944000000U),
PLLCPU(82,       0, 1968000000U),
PLLCPU(83,       0, 1992000000U),
PLLCPU(84,       0, 2016000000U),
PLLCPU(85,       0, 2040000000U),
PLLCPU(86,       0, 2064000000U),
PLLCPU(87,       0, 2088000000U),
PLLCPU(88,       0, 2112000000U),
PLLCPU(89,       0, 2136000000U),
PLLCPU(90,       0, 2160000000U),
PLLCPU(91,       0, 2184000000U),
PLLCPU(92,       0, 2208000000U),
PLLCPU(93,       0, 2232000000U),
PLLCPU(94,       0, 2256000000U),
PLLCPU(95,       0, 2280000000U),
PLLCPU(96,       0, 2304000000U),
PLLCPU(97,       0, 2328000000U),
PLLCPU(98,       0, 2352000000U),
PLLCPU(99,       0, 2376000000U),
PLLCPU(100,      0, 2400000000U),
PLLCPU(101,      0, 2424000000U),
PLLCPU(102,      0, 2448000000U),
PLLCPU(103,      0, 2472000000U),
PLLCPU(104,      0, 2496000000U),
PLLCPU(105,      0, 2520000000U),
PLLCPU(106,      0, 2544000000U),
PLLCPU(107,      0, 2568000000U),
PLLCPU(108,      0, 2592000000U),
PLLCPU(109,      0, 2616000000U),
PLLCPU(110,      0, 2640000000U),
PLLCPU(111,      0, 2664000000U),
PLLCPU(112,      0, 2688000000U),
PLLCPU(113,      0, 2712000000U),
PLLCPU(114,      0, 2736000000U),
PLLCPU(115,      0, 2760000000U),
PLLCPU(116,      0, 2784000000U),
PLLCPU(117,      0, 2808000000U),
PLLCPU(118,      0, 2832000000U),
PLLCPU(119,      0, 2856000000U),
PLLCPU(120,      0, 2880000000U),
PLLCPU(121,      0, 2904000000U),
PLLCPU(122,      0, 2928000000U),
PLLCPU(123,      0, 2952000000U),
PLLCPU(124,      0, 2976000000U),
PLLCPU(125,      0, 3000000000U),
};

struct sunxi_clk_factor_freq factor_pllcpu1_tbl[] = {
PLLCPU(12,       0, 288000000U),
PLLCPU(13,       0, 312000000U),
PLLCPU(14,       0, 336000000U),
PLLCPU(15,       0, 360000000U),
PLLCPU(16,       0, 384000000U),
PLLCPU(17,       0, 408000000U),
PLLCPU(18,       0, 432000000U),
PLLCPU(19,       0, 456000000U),
PLLCPU(20,       0, 480000000U),
PLLCPU(21,       0, 504000000U),
PLLCPU(22,       0, 528000000U),
PLLCPU(23,       0, 552000000U),
PLLCPU(24,       0, 576000000U),
PLLCPU(25,       0, 600000000U),
PLLCPU(26,       0, 624000000U),
PLLCPU(27,       0, 648000000U),
PLLCPU(28,       0, 672000000U),
PLLCPU(29,       0, 696000000U),
PLLCPU(30,       0, 720000000U),
PLLCPU(31,       0, 744000000U),
PLLCPU(32,       0, 768000000U),
PLLCPU(33,       0, 792000000U),
PLLCPU(34,       0, 816000000U),
PLLCPU(35,       0, 840000000U),
PLLCPU(36,       0, 864000000U),
PLLCPU(37,       0, 888000000U),
PLLCPU(38,       0, 912000000U),
PLLCPU(39,       0, 936000000U),
PLLCPU(40,       0, 960000000U),
PLLCPU(41,       0, 984000000U),
PLLCPU(42,       0, 1008000000U),
PLLCPU(43,       0, 1032000000U),
PLLCPU(44,       0, 1056000000U),
PLLCPU(45,       0, 1080000000U),
PLLCPU(46,       0, 1104000000U),
PLLCPU(47,       0, 1128000000U),
PLLCPU(48,       0, 1152000000U),
PLLCPU(49,       0, 1176000000U),
PLLCPU(50,       0, 1200000000U),
PLLCPU(51,       0, 1224000000U),
PLLCPU(52,       0, 1248000000U),
PLLCPU(53,       0, 1272000000U),
PLLCPU(54,       0, 1296000000U),
PLLCPU(55,       0, 1320000000U),
PLLCPU(56,       0, 1344000000U),
PLLCPU(57,       0, 1368000000U),
PLLCPU(58,       0, 1392000000U),
PLLCPU(59,       0, 1416000000U),
PLLCPU(60,       0, 1440000000U),
PLLCPU(61,       0, 1464000000U),
PLLCPU(62,       0, 1488000000U),
PLLCPU(63,       0, 1512000000U),
PLLCPU(64,       0, 1536000000U),
PLLCPU(65,       0, 1560000000U),
PLLCPU(66,       0, 1584000000U),
PLLCPU(67,       0, 1608000000U),
PLLCPU(68,       0, 1632000000U),
PLLCPU(69,       0, 1656000000U),
PLLCPU(70,       0, 1680000000U),
PLLCPU(71,       0, 1704000000U),
PLLCPU(72,       0, 1728000000U),
PLLCPU(73,       0, 1752000000U),
PLLCPU(74,       0, 1776000000U),
PLLCPU(75,       0, 1800000000U),
PLLCPU(76,       0, 1824000000U),
PLLCPU(77,       0, 1848000000U),
PLLCPU(78,       0, 1872000000U),
PLLCPU(79,       0, 1896000000U),
PLLCPU(80,       0, 1920000000U),
PLLCPU(81,       0, 1944000000U),
PLLCPU(82,       0, 1968000000U),
PLLCPU(83,       0, 1992000000U),
PLLCPU(84,       0, 2016000000U),
PLLCPU(85,       0, 2040000000U),
PLLCPU(86,       0, 2064000000U),
PLLCPU(87,       0, 2088000000U),
PLLCPU(88,       0, 2112000000U),
PLLCPU(89,       0, 2136000000U),
PLLCPU(90,       0, 2160000000U),
PLLCPU(91,       0, 2184000000U),
PLLCPU(92,       0, 2208000000U),
PLLCPU(93,       0, 2232000000U),
PLLCPU(94,       0, 2256000000U),
PLLCPU(95,       0, 2280000000U),
PLLCPU(96,       0, 2304000000U),
PLLCPU(97,       0, 2328000000U),
PLLCPU(98,       0, 2352000000U),
PLLCPU(99,       0, 2376000000U),
PLLCPU(100,      0, 2400000000U),
PLLCPU(101,      0, 2424000000U),
PLLCPU(102,      0, 2448000000U),
PLLCPU(103,      0, 2472000000U),
PLLCPU(104,      0, 2496000000U),
PLLCPU(105,      0, 2520000000U),
PLLCPU(106,      0, 2544000000U),
PLLCPU(107,      0, 2568000000U),
PLLCPU(108,      0, 2592000000U),
PLLCPU(109,      0, 2616000000U),
PLLCPU(110,      0, 2640000000U),
PLLCPU(111,      0, 2664000000U),
PLLCPU(112,      0, 2688000000U),
PLLCPU(113,      0, 2712000000U),
PLLCPU(114,      0, 2736000000U),
PLLCPU(115,      0, 2760000000U),
PLLCPU(116,      0, 2784000000U),
PLLCPU(117,      0, 2808000000U),
PLLCPU(118,      0, 2832000000U),
PLLCPU(119,      0, 2856000000U),
PLLCPU(120,      0, 2880000000U),
PLLCPU(121,      0, 2904000000U),
PLLCPU(122,      0, 2928000000U),
PLLCPU(123,      0, 2952000000U),
PLLCPU(124,      0, 2976000000U),
PLLCPU(125,      0, 3000000000U),
};

struct sunxi_clk_factor_freq factor_pllvideo_tbl[] = {
PLLVIDEO(18,      0,      1,      216000000U),
PLLVIDEO(19,      0,      1,      228000000U),
PLLVIDEO(20,      0,      1,      240000000U),
PLLVIDEO(21,      0,      1,      252000000U),
PLLVIDEO(22,      0,      1,      264000000U),
PLLVIDEO(23,      0,      1,      276000000U),
PLLVIDEO(24,      0,      1,      288000000U),
PLLVIDEO(99,      2,      1,      297000000U),
PLLVIDEO(25,      0,      1,      300000000U),
PLLVIDEO(26,      0,      1,      312000000U),
PLLVIDEO(27,      0,      1,      324000000U),
PLLVIDEO(28,      0,      1,      336000000U),
PLLVIDEO(29,      0,      1,      348000000U),
PLLVIDEO(30,      0,      1,      360000000U),
PLLVIDEO(31,      0,      1,      372000000U),
PLLVIDEO(32,      0,      1,      384000000U),
PLLVIDEO(33,      0,      1,      396000000U),
PLLVIDEO(34,      0,      1,      408000000U),
PLLVIDEO(35,      0,      1,      420000000U),
PLLVIDEO(36,      0,      1,      432000000U),
PLLVIDEO(37,      0,      1,      444000000U),
PLLVIDEO(38,      0,      1,      456000000U),
PLLVIDEO(39,      0,      1,      468000000U),
PLLVIDEO(40,      0,      1,      480000000U),
PLLVIDEO(41,      0,      1,      492000000U),
PLLVIDEO(42,      0,      1,      504000000U),
PLLVIDEO(43,      0,      1,      516000000U),
PLLVIDEO(44,      0,      1,      528000000U),
PLLVIDEO(45,      0,      1,      540000000U),
PLLVIDEO(46,      0,      1,      552000000U),
PLLVIDEO(47,      0,      1,      564000000U),
PLLVIDEO(48,      0,      1,      576000000U),
PLLVIDEO(49,      0,      1,      588000000U),
PLLVIDEO(99,      2,      0,      594000000U),
PLLVIDEO(50,      0,      1,      600000000U),
PLLVIDEO(51,      0,      1,      612000000U),
PLLVIDEO(52,      0,      1,      624000000U),
PLLVIDEO(53,      0,      1,      636000000U),
PLLVIDEO(54,      0,      1,      648000000U),
PLLVIDEO(55,      0,      1,      660000000U),
PLLVIDEO(56,      0,      1,      672000000U),
PLLVIDEO(57,      0,      1,      684000000U),
PLLVIDEO(29,      0,      0,      696000000U),
PLLVIDEO(30,      0,      0,      720000000U),
PLLVIDEO(61,      0,      1,      732000000U),
PLLVIDEO(62,      0,      1,      744000000U),
PLLVIDEO(63,      0,      1,      756000000U),
PLLVIDEO(64,      0,      1,      768000000U),
PLLVIDEO(65,      0,      1,      780000000U),
PLLVIDEO(66,      0,      1,      792000000U),
PLLVIDEO(67,      0,      1,      804000000U),
PLLVIDEO(68,      0,      1,      816000000U),
PLLVIDEO(69,      0,      1,      828000000U),
PLLVIDEO(35,      0,      0,      840000000U),
PLLVIDEO(71,      0,      1,      852000000U),
PLLVIDEO(72,      0,      1,      864000000U),
PLLVIDEO(73,      0,      1,      876000000U),
PLLVIDEO(37,      0,      0,      888000000U),
PLLVIDEO(75,      0,      1,      900000000U),
PLLVIDEO(38,      0,      0,      912000000U),
PLLVIDEO(77,      0,      1,      924000000U),
PLLVIDEO(39,      0,      0,      936000000U),
PLLVIDEO(79,      0,      1,      948000000U),
PLLVIDEO(40,      0,      0,      960000000U),
PLLVIDEO(81,      0,      1,      972000000U),
PLLVIDEO(82,      0,      1,      984000000U),
PLLVIDEO(83,      0,      1,      996000000U),
PLLVIDEO(84,      0,      1,      1008000000U),
PLLVIDEO(85,      0,      1,      1020000000U),
PLLVIDEO(86,      0,      1,      1032000000U),
PLLVIDEO(87,      0,      1,      1044000000U),
PLLVIDEO(44,      0,      0,      1056000000U),
PLLVIDEO(89,      0,      1,      1068000000U),
PLLVIDEO(45,      0,      0,      1080000000U),
PLLVIDEO(91,      0,      1,      1092000000U),
PLLVIDEO(92,      0,      1,      1104000000U),
PLLVIDEO(93,      0,      1,      1116000000U),
PLLVIDEO(94,      0,      1,      1128000000U),
PLLVIDEO(95,      0,      1,      1140000000U),
PLLVIDEO(48,      0,      0,      1152000000U),
PLLVIDEO(97,      0,      1,      1164000000U),
PLLVIDEO(98,      0,      1,      1176000000U),
PLLVIDEO(99,      0,      1,      1188000000U),
PLLVIDEO(50,      0,      0,      1200000000U),
PLLVIDEO(101,     0,      1,      1212000000U),
PLLVIDEO(102,     0,      1,      1224000000U),
PLLVIDEO(103,     0,      1,      1236000000U),
PLLVIDEO(52,      0,      0,      1248000000U),
PLLVIDEO(105,     0,      1,      1260000000U),
PLLVIDEO(106,     0,      1,      1272000000U),
PLLVIDEO(107,     0,      1,      1284000000U),
PLLVIDEO(108,     0,      1,      1296000000U),
PLLVIDEO(109,     0,      1,      1308000000U),
PLLVIDEO(110,     0,      1,      1320000000U),
PLLVIDEO(111,     0,      1,      1332000000U),
PLLVIDEO(112,     0,      1,      1344000000U),
PLLVIDEO(113,     0,      1,      1356000000U),
PLLVIDEO(114,     0,      1,      1368000000U),
PLLVIDEO(115,     0,      1,      1380000000U),
PLLVIDEO(116,     0,      1,      1392000000U),
PLLVIDEO(117,     0,      1,      1404000000U),
PLLVIDEO(118,     0,      1,      1416000000U),
PLLVIDEO(119,     0,      1,      1428000000U),
PLLVIDEO(60,      0,      0,      1440000000U),
PLLVIDEO(121,     0,      1,      1452000000U),
PLLVIDEO(61,      0,      0,      1464000000U),
PLLVIDEO(123,     0,      1,      1476000000U),
PLLVIDEO(62,      0,      0,      1488000000U),
PLLVIDEO(125,     0,      1,      1500000000U),
PLLVIDEO(126,     0,      1,      1512000000U),
PLLVIDEO(127,     0,      1,      1524000000U),
PLLVIDEO(64,      0,      0,      1536000000U),
PLLVIDEO(129,     0,      1,      1548000000U),
PLLVIDEO(65,      0,      0,      1560000000U),
PLLVIDEO(131,     0,      1,      1572000000U),
PLLVIDEO(66,      0,      0,      1584000000U),
PLLVIDEO(133,     0,      1,      1596000000U),
PLLVIDEO(67,      0,      0,      1608000000U),
PLLVIDEO(135,     0,      1,      1620000000U),
PLLVIDEO(136,     0,      1,      1632000000U),
PLLVIDEO(137,     0,      1,      1644000000U),
PLLVIDEO(138,     0,      1,      1656000000U),
PLLVIDEO(139,     0,      1,      1668000000U),
PLLVIDEO(70,      0,      0,      1680000000U),
PLLVIDEO(141,     0,      1,      1692000000U),
PLLVIDEO(71,      0,      0,      1704000000U),
PLLVIDEO(143,     0,      1,      1716000000U),
PLLVIDEO(72,      0,      0,      1728000000U),
PLLVIDEO(145,     0,      1,      1740000000U),
PLLVIDEO(146,     0,      1,      1752000000U),
PLLVIDEO(147,     0,      1,      1764000000U),
PLLVIDEO(74,      0,      0,      1776000000U),
PLLVIDEO(149,     0,      1,      1788000000U),
PLLVIDEO(150,     0,      1,      1800000000U),
PLLVIDEO(151,     0,      1,      1812000000U),
PLLVIDEO(76,      0,      0,      1824000000U),
PLLVIDEO(153,     0,      1,      1836000000U),
PLLVIDEO(154,     0,      1,      1848000000U),
PLLVIDEO(155,     0,      1,      1860000000U),
PLLVIDEO(156,     0,      1,      1872000000U),
PLLVIDEO(157,     0,      1,      1884000000U),
PLLVIDEO(158,     0,      1,      1896000000U),
PLLVIDEO(159,     0,      1,      1908000000U),
PLLVIDEO(80,      0,      0,      1920000000U),
PLLVIDEO(161,     0,      1,      1932000000U),
PLLVIDEO(81,      0,      0,      1944000000U),
PLLVIDEO(163,     0,      1,      1956000000U),
PLLVIDEO(82,      0,      0,      1968000000U),
PLLVIDEO(165,     0,      1,      1980000000U),
PLLVIDEO(83,      0,      0,      1992000000U),
PLLVIDEO(167,     0,      1,      2004000000U),
PLLVIDEO(168,     0,      1,      2016000000U),
PLLVIDEO(169,     0,      1,      2028000000U),
PLLVIDEO(85,      0,      0,      2040000000U),
PLLVIDEO(171,     0,      1,      2052000000U),
PLLVIDEO(86,      0,      0,      2064000000U),
PLLVIDEO(173,     0,      1,      2076000000U),
PLLVIDEO(87,      0,      0,      2088000000U),
PLLVIDEO(175,     0,      1,      2100000000U),
PLLVIDEO(176,     0,      1,      2112000000U),
PLLVIDEO(177,     0,      1,      2124000000U),
PLLVIDEO(89,      0,      0,      2136000000U),
PLLVIDEO(179,     0,      1,      2148000000U),
PLLVIDEO(90,      0,      0,      2160000000U),
PLLVIDEO(181,     0,      1,      2172000000U),
PLLVIDEO(91,      0,      0,      2184000000U),
PLLVIDEO(183,     0,      1,      2196000000U),
PLLVIDEO(184,     0,      1,      2208000000U),
PLLVIDEO(185,     0,      1,      2220000000U),
PLLVIDEO(186,     0,      1,      2232000000U),
PLLVIDEO(187,     0,      1,      2244000000U),
PLLVIDEO(188,     0,      1,      2256000000U),
PLLVIDEO(189,     0,      1,      2268000000U),
PLLVIDEO(95,      0,      0,      2280000000U),
PLLVIDEO(191,     0,      1,      2292000000U),
PLLVIDEO(192,     0,      1,      2304000000U),
PLLVIDEO(193,     0,      1,      2316000000U),
PLLVIDEO(194,     0,      1,      2328000000U),
PLLVIDEO(195,     0,      1,      2340000000U),
PLLVIDEO(196,     0,      1,      2352000000U),
PLLVIDEO(197,     0,      1,      2364000000U),
PLLVIDEO(198,     0,      1,      2376000000U),
PLLVIDEO(199,     0,      1,      2388000000U),
PLLVIDEO(100,     0,      0,      2400000000U),
PLLVIDEO(201,     0,      1,      2412000000U),
PLLVIDEO(101,     0,      0,      2424000000U),
PLLVIDEO(203,     0,      1,      2436000000U),
PLLVIDEO(102,     0,      0,      2448000000U),
PLLVIDEO(205,     0,      1,      2460000000U),
PLLVIDEO(206,     0,      1,      2472000000U),
PLLVIDEO(207,     0,      1,      2484000000U),
PLLVIDEO(104,     0,      0,      2496000000U),
PLLVIDEO(209,     0,      1,      2508000000U),
PLLVIDEO(105,     0,      0,      2520000000U),
PLLVIDEO(211,     0,      1,      2532000000U),
PLLVIDEO(106,     0,      0,      2544000000U),
PLLVIDEO(213,     0,      1,      2556000000U),
PLLVIDEO(214,     0,      1,      2568000000U),
PLLVIDEO(215,     0,      1,      2580000000U),
PLLVIDEO(108,     0,      0,      2592000000U),
PLLVIDEO(217,     0,      1,      2604000000U),
PLLVIDEO(218,     0,      1,      2616000000U),
PLLVIDEO(219,     0,      1,      2628000000U),
PLLVIDEO(110,     0,      0,      2640000000U),
PLLVIDEO(221,     0,      1,      2652000000U),
PLLVIDEO(222,     0,      1,      2664000000U),
PLLVIDEO(112,     0,      0,      2688000000U),
PLLVIDEO(225,     0,      1,      2700000000U),
PLLVIDEO(226,     0,      1,      2712000000U),
PLLVIDEO(227,     0,      1,      2724000000U),
PLLVIDEO(228,     0,      1,      2736000000U),
PLLVIDEO(229,     0,      1,      2748000000U),
PLLVIDEO(230,     0,      1,      2760000000U),
PLLVIDEO(231,     0,      1,      2772000000U),
PLLVIDEO(232,     0,      1,      2784000000U),
PLLVIDEO(233,     0,      1,      2796000000U),
PLLVIDEO(117,     0,      0,      2808000000U),
PLLVIDEO(235,     0,      1,      2820000000U),
PLLVIDEO(118,     0,      0,      2832000000U),
PLLVIDEO(237,     0,      1,      2844000000U),
PLLVIDEO(238,     0,      1,      2856000000U),
PLLVIDEO(239,     0,      1,      2868000000U),
PLLVIDEO(240,     0,      1,      2880000000U),
PLLVIDEO(241,     0,      1,      2892000000U),
PLLVIDEO(121,     0,      0,      2904000000U),
PLLVIDEO(243,     0,      1,      2916000000U),
PLLVIDEO(122,     0,      0,      2928000000U),
PLLVIDEO(245,     0,      1,      2940000000U),
PLLVIDEO(246,     0,      1,      2952000000U),
PLLVIDEO(247,     0,      1,      2964000000U),
PLLVIDEO(124,     0,      0,      2976000000U),
PLLVIDEO(249,     0,      1,      2988000000U),
PLLVIDEO(125,     0,      0,      3000000000U),
};

struct sunxi_clk_factor_freq factor_pllve_tbl[] = {
PLLVE(14,       0,       1, 168000000U),
PLLVE(15,       0,       1, 180000000U),
PLLVE(31,       1,       1, 186000000U),
PLLVE(16,       0,       1, 192000000U),
PLLVE(33,       1,       1, 198000000U),
PLLVE(17,       0,       1, 204000000U),
PLLVE(35,       1,       1, 210000000U),
PLLVE(18,       0,       1, 216000000U),
PLLVE(37,       1,       1, 222000000U),
PLLVE(19,       0,       1, 228000000U),
PLLVE(39,       1,       1, 234000000U),
PLLVE(40,       1,       1, 240000000U),
PLLVE(41,       1,       1, 246000000U),
PLLVE(42,       1,       1, 252000000U),
PLLVE(43,       1,       1, 258000000U),
PLLVE(44,       1,       1, 264000000U),
PLLVE(45,       1,       1, 270000000U),
PLLVE(23,       0,       1, 276000000U),
PLLVE(47,       1,       1, 282000000U),
PLLVE(24,       0,       1, 288000000U),
PLLVE(49,       1,       1, 294000000U),
PLLVE(50,       1,       1, 300000000U),
PLLVE(51,       1,       1, 306000000U),
PLLVE(26,       0,       1, 312000000U),
PLLVE(53,       1,       1, 318000000U),
PLLVE(27,       0,       1, 324000000U),
PLLVE(55,       1,       1, 330000000U),
PLLVE(56,       1,       1, 336000000U),
PLLVE(57,       1,       1, 342000000U),
PLLVE(58,       1,       1, 348000000U),
PLLVE(59,       1,       1, 354000000U),
PLLVE(60,       1,       1, 360000000U),
PLLVE(61,       1,       1, 366000000U),
PLLVE(31,       0,       1, 372000000U),
PLLVE(63,       1,       1, 378000000U),
PLLVE(64,       1,       1, 384000000U),
PLLVE(65,       1,       1, 390000000U),
PLLVE(66,       1,       1, 396000000U),
PLLVE(67,       1,       1, 402000000U),
PLLVE(68,       1,       1, 408000000U),
PLLVE(69,       1,       1, 414000000U),
PLLVE(70,       1,       1, 420000000U),
PLLVE(71,       1,       1, 426000000U),
PLLVE(36,       0,       1, 432000000U),
PLLVE(73,       1,       1, 438000000U),
PLLVE(37,       0,       1, 444000000U),
PLLVE(75,       1,       1, 450000000U),
PLLVE(76,       1,       1, 456000000U),
PLLVE(77,       1,       1, 462000000U),
PLLVE(78,       1,       1, 468000000U),
PLLVE(79,       1,       1, 474000000U),
PLLVE(40,       0,       1, 480000000U),
PLLVE(81,       1,       1, 486000000U),
PLLVE(41,       0,       1, 492000000U),
PLLVE(83,       1,       1, 498000000U),
PLLVE(84,       1,       1, 504000000U),
PLLVE(85,       1,       1, 510000000U),
PLLVE(86,       1,       1, 516000000U),
PLLVE(87,       1,       1, 522000000U),
PLLVE(44,       0,       1, 528000000U),
PLLVE(89,       1,       1, 534000000U),
PLLVE(45,       0,       1, 540000000U),
PLLVE(46,       0,       1, 552000000U),
PLLVE(93,       1,       1, 558000000U),
PLLVE(94,       1,       1, 564000000U),
PLLVE(95,       1,       1, 570000000U),
PLLVE(96,       1,       1, 576000000U),
PLLVE(97,       1,       1, 582000000U),
PLLVE(49,       0,       1, 588000000U),
PLLVE(99,       1,       1, 594000000U),
PLLVE(100,      1,       1, 600000000U),
PLLVE(101,      1,       1, 606000000U),
PLLVE(102,      1,       1, 612000000U),
PLLVE(103,      1,       1, 618000000U),
PLLVE(104,      1,       1, 624000000U),
PLLVE(105,      1,       1, 630000000U),
PLLVE(106,      1,       1, 636000000U),
PLLVE(107,      1,       1, 642000000U),
PLLVE(108,      1,       1, 648000000U),
PLLVE(109,      1,       1, 654000000U),
PLLVE(110,      1,       1, 660000000U),
PLLVE(111,      1,       1, 666000000U),
PLLVE(56,       0,       1, 672000000U),
PLLVE(113,      1,       1, 678000000U),
PLLVE(114,      1,       1, 684000000U),
PLLVE(115,      1,       1, 690000000U),
PLLVE(116,      1,       1, 696000000U),
PLLVE(117,      1,       1, 702000000U),
PLLVE(118,      1,       1, 708000000U),
PLLVE(119,      1,       1, 714000000U),
PLLVE(60,       0,       1, 720000000U),
PLLVE(121,      1,       1, 726000000U),
PLLVE(122,      1,       1, 732000000U),
PLLVE(123,      1,       1, 738000000U),
PLLVE(124,      1,       1, 744000000U),
PLLVE(125,      1,       1, 750000000U),
PLLVE(63,       0,       1, 756000000U),
PLLVE(127,      1,       1, 762000000U),
PLLVE(128,      1,       1, 768000000U),
PLLVE(129,      1,       1, 774000000U),
PLLVE(65,       0,       1, 780000000U),
PLLVE(131,      1,       1, 786000000U),
PLLVE(66,       0,       1, 792000000U),
PLLVE(133,      1,       1, 798000000U),
PLLVE(67,       0,       1, 804000000U),
PLLVE(135,      1,       1, 810000000U),
PLLVE(68,       0,       1, 816000000U),
PLLVE(137,      1,       1, 822000000U),
PLLVE(138,      1,       1, 828000000U),
PLLVE(139,      1,       1, 834000000U),
PLLVE(140,      1,       1, 840000000U),
PLLVE(141,      1,       1, 846000000U),
PLLVE(142,      1,       1, 852000000U),
PLLVE(143,      1,       1, 858000000U),
PLLVE(144,      1,       1, 864000000U),
PLLVE(145,      1,       1, 870000000U),
PLLVE(73,       0,       1, 876000000U),
PLLVE(147,      1,       1, 882000000U),
PLLVE(74,       0,       1, 888000000U),
PLLVE(149,      1,       1, 894000000U),
PLLVE(150,      1,       1, 900000000U),
PLLVE(151,      1,       1, 906000000U),
PLLVE(152,      1,       1, 912000000U),
PLLVE(153,      1,       1, 918000000U),
PLLVE(154,      1,       1, 924000000U),
PLLVE(155,      1,       1, 930000000U),
PLLVE(156,      1,       1, 936000000U),
PLLVE(157,      1,       1, 942000000U),
PLLVE(79,       0,       1, 948000000U),
PLLVE(159,      1,       1, 954000000U),
PLLVE(80,       0,       1, 960000000U),
PLLVE(161,      1,       1, 966000000U),
PLLVE(162,      1,       1, 972000000U),
PLLVE(163,      1,       1, 978000000U),
PLLVE(82,       0,       1, 984000000U),
PLLVE(165,      1,       1, 990000000U),
PLLVE(166,      1,       1, 996000000U),
PLLVE(167,      1,       1, 1002000000U),
PLLVE(84,       0,       1, 1008000000U),
PLLVE(169,      1,       1, 1014000000U),
PLLVE(170,      1,       1, 1020000000U),
PLLVE(171,      1,       1, 1026000000U),
PLLVE(86,       1,       0, 1032000000U),
PLLVE(173,      1,       1, 1038000000U),
PLLVE(174,      1,       1, 1044000000U),
PLLVE(175,      1,       1, 1050000000U),
PLLVE(88,       1,       0, 1056000000U),
PLLVE(177,      1,       1, 1062000000U),
PLLVE(89,       0,       1, 1068000000U),
PLLVE(179,      1,       1, 1074000000U),
PLLVE(90,       1,       0, 1080000000U),
PLLVE(181,      1,       1, 1086000000U),
PLLVE(91,       0,       1, 1092000000U),
PLLVE(183,      1,       1, 1098000000U),
PLLVE(92,       1,       0, 1104000000U),
PLLVE(185,      1,       1, 1110000000U),
PLLVE(93,       1,       0, 1116000000U),
PLLVE(187,      1,       1, 1122000000U),
PLLVE(188,      1,       1, 1128000000U),
PLLVE(189,      1,       1, 1134000000U),
PLLVE(190,      1,       1, 1140000000U),
PLLVE(191,      1,       1, 1146000000U),
PLLVE(96,       0,       1, 1152000000U),
PLLVE(193,      1,       1, 1158000000U),
PLLVE(97,       0,       1, 1164000000U),
PLLVE(195,      1,       1, 1170000000U),
PLLVE(98,       0,       1, 1176000000U),
PLLVE(197,      1,       1, 1182000000U),
PLLVE(198,      1,       1, 1188000000U),
PLLVE(199,      1,       1, 1194000000U),
PLLVE(100,      0,       1, 1200000000U),
PLLVE(201,      1,       1, 1206000000U),
PLLVE(202,      1,       1, 1212000000U),
PLLVE(203,      1,       1, 1218000000U),
PLLVE(51,       0,       0, 1224000000U),
PLLVE(205,      1,       1, 1230000000U),
PLLVE(103,      1,       0, 1236000000U),
PLLVE(207,      1,       1, 1242000000U),
PLLVE(208,      1,       1, 1248000000U),
PLLVE(209,      1,       1, 1254000000U),
PLLVE(210,      1,       1, 1260000000U),
PLLVE(211,      1,       1, 1266000000U),
PLLVE(212,      1,       1, 1272000000U),
PLLVE(213,      1,       1, 1278000000U),
PLLVE(107,      0,       1, 1284000000U),
PLLVE(215,      1,       1, 1290000000U),
PLLVE(108,      1,       0, 1296000000U),
PLLVE(217,      1,       1, 1302000000U),
PLLVE(109,      0,       1, 1308000000U),
PLLVE(219,      1,       1, 1314000000U),
PLLVE(220,      1,       1, 1320000000U),
PLLVE(221,      1,       1, 1326000000U),
PLLVE(111,      0,       1, 1332000000U),
PLLVE(223,      1,       1, 1338000000U),
PLLVE(224,      1,       1, 1344000000U),
PLLVE(225,      1,       1, 1350000000U),
PLLVE(226,      1,       1, 1356000000U),
PLLVE(227,      1,       1, 1362000000U),
PLLVE(57,       0,       0, 1368000000U),
PLLVE(229,      1,       1, 1374000000U),
PLLVE(115,      0,       1, 1380000000U),
PLLVE(231,      1,       1, 1386000000U),
PLLVE(116,      0,       1, 1392000000U),
PLLVE(233,      1,       1, 1398000000U),
PLLVE(117,      0,       1, 1404000000U),
PLLVE(235,      1,       1, 1410000000U),
PLLVE(236,      1,       1, 1416000000U),
PLLVE(237,      1,       1, 1422000000U),
PLLVE(238,      1,       1, 1428000000U),
PLLVE(239,      1,       1, 1434000000U),
PLLVE(240,      1,       1, 1440000000U),
PLLVE(241,      1,       1, 1446000000U),
PLLVE(242,      1,       1, 1452000000U),
PLLVE(243,      1,       1, 1458000000U),
PLLVE(122,      1,       0, 1464000000U),
PLLVE(245,      1,       1, 1470000000U),
PLLVE(246,      1,       1, 1476000000U),
PLLVE(247,      1,       1, 1482000000U),
PLLVE(124,      0,       1, 1488000000U),
PLLVE(249,      1,       1, 1494000000U),
PLLVE(250,      1,       1, 1500000000U),
PLLVE(126,      1,       0, 1512000000U),
PLLVE(127,      0,       1, 1524000000U),
PLLVE(64,       0,       0, 1536000000U),
PLLVE(129,      0,       1, 1548000000U),
PLLVE(130,      0,       1, 1560000000U),
PLLVE(131,      1,       0, 1572000000U),
PLLVE(132,      1,       0, 1584000000U),
PLLVE(133,      1,       0, 1596000000U),
PLLVE(134,      1,       0, 1608000000U),
PLLVE(135,      1,       0, 1620000000U),
PLLVE(68,       0,       0, 1632000000U),
PLLVE(137,      0,       1, 1644000000U),
PLLVE(138,      0,       1, 1656000000U),
PLLVE(139,      1,       0, 1668000000U),
PLLVE(140,      1,       0, 1680000000U),
PLLVE(141,      1,       0, 1692000000U),
PLLVE(142,      1,       0, 1704000000U),
PLLVE(143,      1,       0, 1716000000U),
PLLVE(72,       0,       0, 1728000000U),
PLLVE(145,      1,       0, 1740000000U),
PLLVE(146,      1,       0, 1752000000U),
PLLVE(147,      1,       0, 1764000000U),
PLLVE(74,       0,       0, 1776000000U),
PLLVE(149,      1,       0, 1788000000U),
PLLVE(75,       0,       0, 1800000000U),
PLLVE(151,      1,       0, 1812000000U),
PLLVE(152,      1,       0, 1824000000U),
PLLVE(153,      1,       0, 1836000000U),
PLLVE(154,      1,       0, 1848000000U),
PLLVE(155,      1,       0, 1860000000U),
PLLVE(78,       0,       0, 1872000000U),
PLLVE(157,      1,       0, 1884000000U),
PLLVE(158,      1,       0, 1896000000U),
PLLVE(159,      1,       0, 1908000000U),
PLLVE(160,      1,       0, 1920000000U),
PLLVE(161,      1,       0, 1932000000U),
PLLVE(81,       0,       0, 1944000000U),
PLLVE(163,      1,       0, 1956000000U),
PLLVE(164,      1,       0, 1968000000U),
PLLVE(165,      1,       0, 1980000000U),
PLLVE(166,      1,       0, 1992000000U),
PLLVE(167,      1,       0, 2004000000U),
PLLVE(84,       0,       0, 2016000000U),
PLLVE(169,      1,       0, 2028000000U),
PLLVE(85,       0,       0, 2040000000U),
PLLVE(171,      1,       0, 2052000000U),
PLLVE(86,       0,       0, 2064000000U),
PLLVE(173,      1,       0, 2076000000U),
PLLVE(87,       0,       0, 2088000000U),
PLLVE(175,      1,       0, 2100000000U),
PLLVE(88,       0,       0, 2112000000U),
PLLVE(177,      1,       0, 2124000000U),
PLLVE(178,      1,       0, 2136000000U),
PLLVE(179,      1,       0, 2148000000U),
PLLVE(90,       0,       0, 2160000000U),
PLLVE(181,      1,       0, 2172000000U),
PLLVE(182,      1,       0, 2184000000U),
PLLVE(183,      1,       0, 2196000000U),
PLLVE(92,       0,       0, 2208000000U),
PLLVE(185,      1,       0, 2220000000U),
PLLVE(186,      1,       0, 2232000000U),
PLLVE(187,      1,       0, 2244000000U),
PLLVE(188,      1,       0, 2256000000U),
PLLVE(189,      1,       0, 2268000000U),
PLLVE(190,      1,       0, 2280000000U),
PLLVE(191,      1,       0, 2292000000U),
PLLVE(192,      1,       0, 2304000000U),
PLLVE(193,      1,       0, 2316000000U),
PLLVE(194,      1,       0, 2328000000U),
PLLVE(195,      1,       0, 2340000000U),
PLLVE(98,       0,       0, 2352000000U),
PLLVE(197,      1,       0, 2364000000U),
PLLVE(99,       0,       0, 2376000000U),
PLLVE(199,      1,       0, 2388000000U),
PLLVE(100,      0,       0, 2400000000U),
PLLVE(201,      1,       0, 2412000000U),
PLLVE(101,      0,       0, 2424000000U),
PLLVE(203,      1,       0, 2436000000U),
PLLVE(102,      0,       0, 2448000000U),
PLLVE(205,      1,       0, 2460000000U),
PLLVE(206,      1,       0, 2472000000U),
PLLVE(207,      1,       0, 2484000000U),
PLLVE(208,      1,       0, 2496000000U),
PLLVE(209,      1,       0, 2508000000U),
PLLVE(210,      1,       0, 2520000000U),
PLLVE(211,      1,       0, 2532000000U),
PLLVE(106,      0,       0, 2544000000U),
PLLVE(213,      1,       0, 2556000000U),
PLLVE(214,      1,       0, 2568000000U),
PLLVE(215,      1,       0, 2580000000U),
PLLVE(216,      1,       0, 2592000000U),
PLLVE(217,      1,       0, 2604000000U),
PLLVE(109,      0,       0, 2616000000U),
PLLVE(219,      1,       0, 2628000000U),
PLLVE(110,      0,       0, 2640000000U),
PLLVE(221,      1,       0, 2652000000U),
PLLVE(111,      0,       0, 2664000000U),
PLLVE(223,      1,       0, 2676000000U),
PLLVE(112,      0,       0, 2688000000U),
PLLVE(225,      1,       0, 2700000000U),
PLLVE(113,      0,       0, 2712000000U),
PLLVE(227,      1,       0, 2724000000U),
PLLVE(114,      0,       0, 2736000000U),
PLLVE(229,      1,       0, 2748000000U),
PLLVE(115,      0,       0, 2760000000U),
PLLVE(231,      1,       0, 2772000000U),
PLLVE(116,      0,       0, 2784000000U),
PLLVE(233,      1,       0, 2796000000U),
PLLVE(117,      0,       0, 2808000000U),
PLLVE(235,      1,       0, 2820000000U),
PLLVE(118,      0,       0, 2832000000U),
PLLVE(237,      1,       0, 2844000000U),
PLLVE(119,      0,       0, 2856000000U),
PLLVE(239,      1,       0, 2868000000U),
PLLVE(240,      1,       0, 2880000000U),
PLLVE(241,      1,       0, 2892000000U),
PLLVE(121,      0,       0, 2904000000U),
PLLVE(243,      1,       0, 2916000000U),
PLLVE(244,      1,       0, 2928000000U),
PLLVE(245,      1,       0, 2940000000U),
PLLVE(246,      1,       0, 2952000000U),
PLLVE(247,      1,       0, 2964000000U),
PLLVE(124,      0,       0, 2976000000U),
PLLVE(249,      1,       0, 2988000000U),
PLLVE(250,      1,       0, 3000000000U),
};
struct sunxi_clk_factor_freq factor_pllddr_tbl[] = {
PLLDDR(14,       0,       1, 180000000U),
PLLDDR(30,       1,       1, 186000000U),
PLLDDR(31,       1,       1, 192000000U),
PLLDDR(32,       1,       1, 198000000U),
PLLDDR(33,       1,       1, 204000000U),
PLLDDR(34,       1,       1, 210000000U),
PLLDDR(35,       1,       1, 216000000U),
PLLDDR(36,       1,       1, 222000000U),
PLLDDR(18,       0,       1, 228000000U),
PLLDDR(38,       1,       1, 234000000U),
PLLDDR(39,       1,       1, 240000000U),
PLLDDR(40,       1,       1, 246000000U),
PLLDDR(41,       1,       1, 252000000U),
PLLDDR(42,       1,       1, 258000000U),
PLLDDR(21,       0,       1, 264000000U),
PLLDDR(44,       1,       1, 270000000U),
PLLDDR(45,       1,       1, 276000000U),
PLLDDR(46,       1,       1, 282000000U),
PLLDDR(23,       0,       1, 288000000U),
PLLDDR(48,       1,       1, 294000000U),
PLLDDR(24,       0,       1, 300000000U),
PLLDDR(50,       1,       1, 306000000U),
PLLDDR(51,       1,       1, 312000000U),
PLLDDR(52,       1,       1, 318000000U),
PLLDDR(26,       0,       1, 324000000U),
PLLDDR(54,       1,       1, 330000000U),
PLLDDR(27,       0,       1, 336000000U),
PLLDDR(56,       1,       1, 342000000U),
PLLDDR(57,       1,       1, 348000000U),
PLLDDR(58,       1,       1, 354000000U),
PLLDDR(59,       1,       1, 360000000U),
PLLDDR(60,       1,       1, 366000000U),
PLLDDR(61,       1,       1, 372000000U),
PLLDDR(62,       1,       1, 378000000U),
PLLDDR(63,       1,       1, 384000000U),
PLLDDR(32,       0,       1, 396000000U),
PLLDDR(33,       0,       1, 408000000U),
PLLDDR(34,       0,       1, 420000000U),
PLLDDR(35,       0,       1, 432000000U),
PLLDDR(36,       0,       1, 444000000U),
PLLDDR(37,       0,       1, 456000000U),
PLLDDR(38,       0,       1, 468000000U),
PLLDDR(39,       0,       1, 480000000U),
PLLDDR(40,       0,       1, 492000000U),
PLLDDR(41,       0,       1, 504000000U),
PLLDDR(42,       0,       1, 516000000U),
PLLDDR(43,       0,       1, 528000000U),
PLLDDR(44,       0,       1, 540000000U),
PLLDDR(45,       0,       1, 552000000U),
PLLDDR(46,       0,       1, 564000000U),
PLLDDR(47,       0,       1, 576000000U),
PLLDDR(48,       0,       1, 588000000U),
PLLDDR(49,       0,       1, 600000000U),
PLLDDR(50,       0,       1, 612000000U),
PLLDDR(51,       0,       1, 624000000U),
PLLDDR(52,       0,       1, 636000000U),
PLLDDR(53,       0,       1, 648000000U),
PLLDDR(54,       0,       1, 660000000U),
PLLDDR(55,       0,       1, 672000000U),
PLLDDR(56,       0,       1, 684000000U),
PLLDDR(57,       0,       1, 696000000U),
PLLDDR(58,       0,       1, 708000000U),
PLLDDR(59,       0,       1, 720000000U),
PLLDDR(60,       0,       1, 732000000U),
PLLDDR(61,       0,       1, 744000000U),
PLLDDR(62,       0,       1, 756000000U),
PLLDDR(63,       0,       1, 768000000U),
PLLDDR(32,       0,       0, 792000000U),
PLLDDR(33,       0,       0, 816000000U),
PLLDDR(34,       0,       0, 840000000U),
PLLDDR(35,       0,       0, 864000000U),
PLLDDR(36,       0,       0, 888000000U),
PLLDDR(37,       0,       0, 912000000U),
PLLDDR(38,       0,       0, 936000000U),
PLLDDR(39,       0,       0, 960000000U),
PLLDDR(40,       0,       0, 984000000U),
PLLDDR(41,       0,       0, 1008000000U),
PLLDDR(42,       0,       0, 1032000000U),
PLLDDR(43,       0,       0, 1056000000U),
PLLDDR(44,       0,       0, 1080000000U),
PLLDDR(45,       0,       0, 1104000000U),
PLLDDR(46,       0,       0, 1128000000U),
PLLDDR(47,       0,       0, 1152000000U),
PLLDDR(48,       0,       0, 1176000000U),
PLLDDR(49,       0,       0, 1200000000U),
PLLDDR(50,       0,       0, 1224000000U),
PLLDDR(51,       0,       0, 1248000000U),
PLLDDR(52,       0,       0, 1272000000U),
PLLDDR(53,       0,       0, 1296000000U),
PLLDDR(54,       0,       0, 1320000000U),
PLLDDR(55,       0,       0, 1344000000U),
PLLDDR(56,       0,       0, 1368000000U),
PLLDDR(57,       0,       0, 1392000000U),
PLLDDR(58,       0,       0, 1416000000U),
PLLDDR(59,       0,       0, 1440000000U),
PLLDDR(60,       0,       0, 1464000000U),
PLLDDR(61,       0,       0, 1488000000U),
PLLDDR(62,       0,       0, 1512000000U),
PLLDDR(63,       0,       0, 1536000000U),
};
struct sunxi_clk_factor_freq factor_pllperiph_tbl[] = {
PLLPERIPH(28,       1, 1, 168000000U),
PLLPERIPH(29,       1, 1, 174000000U),
PLLPERIPH(15,       0, 1, 180000000U),
PLLPERIPH(31,       1, 1, 186000000U),
PLLPERIPH(32,       1, 1, 192000000U),
PLLPERIPH(33,       1, 1, 198000000U),
PLLPERIPH(17,       0, 1, 204000000U),
PLLPERIPH(35,       1, 1, 210000000U),
PLLPERIPH(36,       1, 1, 216000000U),
PLLPERIPH(37,       1, 1, 222000000U),
PLLPERIPH(38,       1, 1, 228000000U),
PLLPERIPH(39,       1, 1, 234000000U),
PLLPERIPH(40,       1, 1, 240000000U),
PLLPERIPH(41,       1, 1, 246000000U),
PLLPERIPH(21,       0, 1, 252000000U),
PLLPERIPH(43,       1, 1, 258000000U),
PLLPERIPH(44,       1, 1, 264000000U),
PLLPERIPH(45,       1, 1, 270000000U),
PLLPERIPH(46,       1, 1, 276000000U),
PLLPERIPH(47,       1, 1, 282000000U),
PLLPERIPH(48,       1, 1, 288000000U),
PLLPERIPH(49,       1, 1, 294000000U),
PLLPERIPH(50,       1, 1, 300000000U),
PLLPERIPH(51,       1, 1, 306000000U),
PLLPERIPH(52,       1, 1, 312000000U),
PLLPERIPH(53,       1, 1, 318000000U),
PLLPERIPH(54,       1, 1, 324000000U),
PLLPERIPH(55,       1, 1, 330000000U),
PLLPERIPH(28,       0, 1, 336000000U),
PLLPERIPH(57,       1, 1, 342000000U),
PLLPERIPH(29,       0, 1, 348000000U),
PLLPERIPH(59,       1, 1, 354000000U),
PLLPERIPH(60,       1, 1, 360000000U),
PLLPERIPH(61,       1, 1, 366000000U),
PLLPERIPH(31,       0, 1, 372000000U),
PLLPERIPH(63,       1, 1, 378000000U),
PLLPERIPH(32,       0, 1, 384000000U),
PLLPERIPH(65,       1, 1, 390000000U),
PLLPERIPH(33,       0, 1, 396000000U),
PLLPERIPH(67,       1, 1, 402000000U),
PLLPERIPH(34,       0, 1, 408000000U),
PLLPERIPH(69,       1, 1, 414000000U),
PLLPERIPH(70,       1, 1, 420000000U),
PLLPERIPH(71,       1, 1, 426000000U),
PLLPERIPH(36,       0, 1, 432000000U),
PLLPERIPH(73,       1, 1, 438000000U),
PLLPERIPH(37,       0, 1, 444000000U),
PLLPERIPH(75,       1, 1, 450000000U),
PLLPERIPH(76,       1, 1, 456000000U),
PLLPERIPH(77,       1, 1, 462000000U),
PLLPERIPH(39,       0, 1, 468000000U),
PLLPERIPH(79,       1, 1, 474000000U),
PLLPERIPH(80,       1, 1, 480000000U),
PLLPERIPH(81,       1, 1, 486000000U),
PLLPERIPH(41,       0, 1, 492000000U),
PLLPERIPH(83,       1, 1, 498000000U),
PLLPERIPH(84,       1, 1, 504000000U),
PLLPERIPH(85,       1, 1, 510000000U),
PLLPERIPH(86,       1, 1, 516000000U),
PLLPERIPH(87,       1, 1, 522000000U),
PLLPERIPH(88,       1, 1, 528000000U),
PLLPERIPH(89,       1, 1, 534000000U),
PLLPERIPH(90,       1, 1, 540000000U),
PLLPERIPH(91,       1, 1, 546000000U),
PLLPERIPH(92,       1, 1, 552000000U),
PLLPERIPH(93,       1, 1, 558000000U),
PLLPERIPH(47,       0, 1, 564000000U),
PLLPERIPH(95,       1, 1, 570000000U),
PLLPERIPH(48,       0, 1, 576000000U),
PLLPERIPH(97,       1, 1, 582000000U),
PLLPERIPH(98,       1, 1, 588000000U),
PLLPERIPH(99,       1, 1, 594000000U),
PLLPERIPH(100,      1, 1, 600000000U),
PLLPERIPH(101,      1, 1, 606000000U),
PLLPERIPH(102,      1, 1, 612000000U),
PLLPERIPH(103,      1, 1, 618000000U),
PLLPERIPH(52,       0, 1, 624000000U),
PLLPERIPH(105,      1, 1, 630000000U),
PLLPERIPH(53,       0, 1, 636000000U),
PLLPERIPH(107,      1, 1, 642000000U),
PLLPERIPH(108,      1, 1, 648000000U),
PLLPERIPH(109,      1, 1, 654000000U),
PLLPERIPH(55,       0, 1, 660000000U),
PLLPERIPH(111,      1, 1, 666000000U),
PLLPERIPH(112,      1, 1, 672000000U),
PLLPERIPH(113,      1, 1, 678000000U),
PLLPERIPH(57,       0, 1, 684000000U),
PLLPERIPH(115,      1, 1, 690000000U),
PLLPERIPH(58,       0, 1, 696000000U),
PLLPERIPH(117,      1, 1, 702000000U),
PLLPERIPH(59,       0, 1, 708000000U),
PLLPERIPH(119,      1, 1, 714000000U),
PLLPERIPH(60,       0, 1, 720000000U),
PLLPERIPH(121,      1, 1, 726000000U),
PLLPERIPH(61,       0, 1, 732000000U),
PLLPERIPH(123,      1, 1, 738000000U),
PLLPERIPH(124,      1, 1, 744000000U),
PLLPERIPH(125,      1, 1, 750000000U),
PLLPERIPH(126,      1, 1, 756000000U),
PLLPERIPH(127,      1, 1, 762000000U),
PLLPERIPH(64,       0, 1, 768000000U),
PLLPERIPH(129,      1, 1, 774000000U),
PLLPERIPH(65,       0, 1, 780000000U),
PLLPERIPH(131,      1, 1, 786000000U),
PLLPERIPH(66,       0, 1, 792000000U),
PLLPERIPH(133,      1, 1, 798000000U),
PLLPERIPH(67,       0, 1, 804000000U),
PLLPERIPH(135,      1, 1, 810000000U),
PLLPERIPH(68,       0, 1, 816000000U),
PLLPERIPH(137,      1, 1, 822000000U),
PLLPERIPH(138,      1, 1, 828000000U),
PLLPERIPH(139,      1, 1, 834000000U),
PLLPERIPH(70,       0, 1, 840000000U),
PLLPERIPH(141,      1, 1, 846000000U),
PLLPERIPH(142,      1, 1, 852000000U),
PLLPERIPH(143,      1, 1, 858000000U),
PLLPERIPH(72,       0, 1, 864000000U),
PLLPERIPH(145,      1, 1, 870000000U),
PLLPERIPH(146,      1, 1, 876000000U),
PLLPERIPH(147,      1, 1, 882000000U),
PLLPERIPH(148,      1, 1, 888000000U),
PLLPERIPH(149,      1, 1, 894000000U),
PLLPERIPH(150,      1, 1, 900000000U),
PLLPERIPH(151,      1, 1, 906000000U),
PLLPERIPH(76,       0, 1, 912000000U),
PLLPERIPH(153,      1, 1, 918000000U),
PLLPERIPH(154,      1, 1, 924000000U),
PLLPERIPH(155,      1, 1, 930000000U),
PLLPERIPH(78,       0, 1, 936000000U),
PLLPERIPH(157,      1, 1, 942000000U),
PLLPERIPH(158,      1, 1, 948000000U),
PLLPERIPH(159,      1, 1, 954000000U),
PLLPERIPH(160,      1, 1, 960000000U),
PLLPERIPH(161,      1, 1, 966000000U),
PLLPERIPH(81,       1, 0, 972000000U),
PLLPERIPH(163,      1, 1, 978000000U),
PLLPERIPH(164,      1, 1, 984000000U),
PLLPERIPH(165,      1, 1, 990000000U),
PLLPERIPH(83,       0, 1, 996000000U),
PLLPERIPH(167,      1, 1, 1002000000U),
PLLPERIPH(168,      1, 1, 1008000000U),
PLLPERIPH(169,      1, 1, 1014000000U),
PLLPERIPH(85,       0, 1, 1020000000U),
PLLPERIPH(171,      1, 1, 1026000000U),
PLLPERIPH(86,       0, 1, 1032000000U),
PLLPERIPH(173,      1, 1, 1038000000U),
PLLPERIPH(174,      1, 1, 1044000000U),
PLLPERIPH(175,      1, 1, 1050000000U),
PLLPERIPH(176,      1, 1, 1056000000U),
PLLPERIPH(177,      1, 1, 1062000000U),
PLLPERIPH(178,      1, 1, 1068000000U),
PLLPERIPH(179,      1, 1, 1074000000U),
PLLPERIPH(180,      1, 1, 1080000000U),
PLLPERIPH(181,      1, 1, 1086000000U),
PLLPERIPH(182,      1, 1, 1092000000U),
PLLPERIPH(183,      1, 1, 1098000000U),
PLLPERIPH(92,       0, 1, 1104000000U),
PLLPERIPH(185,      1, 1, 1110000000U),
PLLPERIPH(186,      1, 1, 1116000000U),
PLLPERIPH(187,      1, 1, 1122000000U),
PLLPERIPH(94,       1, 0, 1128000000U),
PLLPERIPH(189,      1, 1, 1134000000U),
PLLPERIPH(190,      1, 1, 1140000000U),
PLLPERIPH(191,      1, 1, 1146000000U),
PLLPERIPH(96,       0, 1, 1152000000U),
PLLPERIPH(193,      1, 1, 1158000000U),
PLLPERIPH(97,       0, 1, 1164000000U),
PLLPERIPH(195,      1, 1, 1170000000U),
PLLPERIPH(196,      1, 1, 1176000000U),
PLLPERIPH(197,      1, 1, 1182000000U),
PLLPERIPH(99,       1, 0, 1188000000U),
PLLPERIPH(199,      1, 1, 1194000000U),
PLLPERIPH(100,      1, 0, 1200000000U),
PLLPERIPH(201,      1, 1, 1206000000U),
PLLPERIPH(202,      1, 1, 1212000000U),
PLLPERIPH(203,      1, 1, 1218000000U),
PLLPERIPH(102,      0, 1, 1224000000U),
PLLPERIPH(205,      1, 1, 1230000000U),
PLLPERIPH(103,      0, 1, 1236000000U),
PLLPERIPH(207,      1, 1, 1242000000U),
PLLPERIPH(104,      0, 1, 1248000000U),
PLLPERIPH(209,      1, 1, 1254000000U),
PLLPERIPH(105,      0, 1, 1260000000U),
PLLPERIPH(211,      1, 1, 1266000000U),
PLLPERIPH(106,      1, 0, 1272000000U),
PLLPERIPH(213,      1, 1, 1278000000U),
PLLPERIPH(107,      1, 0, 1284000000U),
PLLPERIPH(215,      1, 1, 1290000000U),
PLLPERIPH(108,      0, 1, 1296000000U),
PLLPERIPH(217,      1, 1, 1302000000U),
PLLPERIPH(109,      0, 1, 1308000000U),
PLLPERIPH(219,      1, 1, 1314000000U),
PLLPERIPH(110,      0, 1, 1320000000U),
PLLPERIPH(221,      1, 1, 1326000000U),
PLLPERIPH(111,      1, 0, 1332000000U),
PLLPERIPH(223,      1, 1, 1338000000U),
PLLPERIPH(112,      1, 0, 1344000000U),
PLLPERIPH(225,      1, 1, 1350000000U),
PLLPERIPH(226,      1, 1, 1356000000U),
PLLPERIPH(227,      1, 1, 1362000000U),
PLLPERIPH(114,      0, 1, 1368000000U),
PLLPERIPH(229,      1, 1, 1374000000U),
PLLPERIPH(115,      0, 1, 1380000000U),
PLLPERIPH(231,      1, 1, 1386000000U),
PLLPERIPH(58,       0, 0, 1392000000U),
PLLPERIPH(233,      1, 1, 1398000000U),
PLLPERIPH(117,      0, 1, 1404000000U),
PLLPERIPH(235,      1, 1, 1410000000U),
PLLPERIPH(59,       0, 0, 1416000000U),
PLLPERIPH(237,      1, 1, 1422000000U),
PLLPERIPH(119,      0, 1, 1428000000U),
PLLPERIPH(239,      1, 1, 1434000000U),
PLLPERIPH(240,      1, 1, 1440000000U),
PLLPERIPH(241,      1, 1, 1446000000U),
PLLPERIPH(121,      0, 1, 1452000000U),
PLLPERIPH(243,      1, 1, 1458000000U),
PLLPERIPH(122,      1, 0, 1464000000U),
PLLPERIPH(245,      1, 1, 1470000000U),
PLLPERIPH(123,      1, 0, 1476000000U),
PLLPERIPH(247,      1, 1, 1482000000U),
PLLPERIPH(248,      1, 1, 1488000000U),
PLLPERIPH(249,      1, 1, 1494000000U),
PLLPERIPH(125,      0, 1, 1500000000U),
PLLPERIPH(126,      1, 0, 1512000000U),
PLLPERIPH(127,      0, 1, 1524000000U),
PLLPERIPH(64,       0, 0, 1536000000U),
PLLPERIPH(129,      0, 1, 1548000000U),
PLLPERIPH(65,       0, 0, 1560000000U),
PLLPERIPH(131,      0, 1, 1572000000U),
PLLPERIPH(66,       0, 0, 1584000000U),
PLLPERIPH(133,      0, 1, 1596000000U),
PLLPERIPH(134,      0, 1, 1608000000U),
PLLPERIPH(135,      0, 1, 1620000000U),
PLLPERIPH(68,       0, 0, 1632000000U),
PLLPERIPH(137,      0, 1, 1644000000U),
PLLPERIPH(138,      1, 0, 1656000000U),
PLLPERIPH(139,      1, 0, 1668000000U),
PLLPERIPH(140,      1, 0, 1680000000U),
PLLPERIPH(141,      1, 0, 1692000000U),
PLLPERIPH(71,       0, 0, 1704000000U),
PLLPERIPH(143,      1, 0, 1716000000U),
PLLPERIPH(72,       0, 0, 1728000000U),
PLLPERIPH(145,      1, 0, 1740000000U),
PLLPERIPH(146,      1, 0, 1752000000U),
PLLPERIPH(147,      1, 0, 1764000000U),
PLLPERIPH(74,       0, 0, 1776000000U),
PLLPERIPH(149,      1, 0, 1788000000U),
PLLPERIPH(75,       0, 0, 1800000000U),
PLLPERIPH(151,      1, 0, 1812000000U),
PLLPERIPH(152,      1, 0, 1824000000U),
PLLPERIPH(153,      1, 0, 1836000000U),
PLLPERIPH(77,       0, 0, 1848000000U),
PLLPERIPH(155,      1, 0, 1860000000U),
PLLPERIPH(156,      1, 0, 1872000000U),
PLLPERIPH(157,      1, 0, 1884000000U),
PLLPERIPH(79,       0, 0, 1896000000U),
PLLPERIPH(159,      1, 0, 1908000000U),
PLLPERIPH(80,       0, 0, 1920000000U),
PLLPERIPH(161,      1, 0, 1932000000U),
PLLPERIPH(81,       0, 0, 1944000000U),
PLLPERIPH(163,      1, 0, 1956000000U),
PLLPERIPH(164,      1, 0, 1968000000U),
PLLPERIPH(165,      1, 0, 1980000000U),
PLLPERIPH(166,      1, 0, 1992000000U),
PLLPERIPH(167,      1, 0, 2004000000U),
PLLPERIPH(168,      1, 0, 2016000000U),
PLLPERIPH(169,      1, 0, 2028000000U),
PLLPERIPH(85,       0, 0, 2040000000U),
PLLPERIPH(171,      1, 0, 2052000000U),
PLLPERIPH(172,      1, 0, 2064000000U),
PLLPERIPH(173,      1, 0, 2076000000U),
PLLPERIPH(174,      1, 0, 2088000000U),
PLLPERIPH(175,      1, 0, 2100000000U),
PLLPERIPH(176,      1, 0, 2112000000U),
PLLPERIPH(177,      1, 0, 2124000000U),
PLLPERIPH(89,       0, 0, 2136000000U),
PLLPERIPH(179,      1, 0, 2148000000U),
PLLPERIPH(180,      1, 0, 2160000000U),
PLLPERIPH(181,      1, 0, 2172000000U),
PLLPERIPH(91,       0, 0, 2184000000U),
PLLPERIPH(183,      1, 0, 2196000000U),
PLLPERIPH(184,      1, 0, 2208000000U),
PLLPERIPH(185,      1, 0, 2220000000U),
PLLPERIPH(186,      1, 0, 2232000000U),
PLLPERIPH(187,      1, 0, 2244000000U),
PLLPERIPH(188,      1, 0, 2256000000U),
PLLPERIPH(189,      1, 0, 2268000000U),
PLLPERIPH(190,      1, 0, 2280000000U),
PLLPERIPH(191,      1, 0, 2292000000U),
PLLPERIPH(192,      1, 0, 2304000000U),
PLLPERIPH(193,      1, 0, 2316000000U),
PLLPERIPH(194,      1, 0, 2328000000U),
PLLPERIPH(195,      1, 0, 2340000000U),
PLLPERIPH(196,      1, 0, 2352000000U),
PLLPERIPH(197,      1, 0, 2364000000U),
PLLPERIPH(198,      1, 0, 2376000000U),
PLLPERIPH(199,      1, 0, 2388000000U),
PLLPERIPH(100,      0, 0, 2400000000U),
PLLPERIPH(201,      1, 0, 2412000000U),
PLLPERIPH(202,      1, 0, 2424000000U),
PLLPERIPH(203,      1, 0, 2436000000U),
PLLPERIPH(102,      0, 0, 2448000000U),
PLLPERIPH(205,      1, 0, 2460000000U),
PLLPERIPH(206,      1, 0, 2472000000U),
PLLPERIPH(207,      1, 0, 2484000000U),
PLLPERIPH(104,      0, 0, 2496000000U),
PLLPERIPH(209,      1, 0, 2508000000U),
PLLPERIPH(105,      0, 0, 2520000000U),
PLLPERIPH(211,      1, 0, 2532000000U),
PLLPERIPH(212,      1, 0, 2544000000U),
PLLPERIPH(213,      1, 0, 2556000000U),
PLLPERIPH(214,      1, 0, 2568000000U),
PLLPERIPH(215,      1, 0, 2580000000U),
PLLPERIPH(216,      1, 0, 2592000000U),
PLLPERIPH(217,      1, 0, 2604000000U),
PLLPERIPH(218,      1, 0, 2616000000U),
PLLPERIPH(219,      1, 0, 2628000000U),
PLLPERIPH(110,      0, 0, 2640000000U),
PLLPERIPH(221,      1, 0, 2652000000U),
PLLPERIPH(222,      1, 0, 2664000000U),
PLLPERIPH(223,      1, 0, 2676000000U),
PLLPERIPH(112,      0, 0, 2688000000U),
PLLPERIPH(225,      1, 0, 2700000000U),
PLLPERIPH(113,      0, 0, 2712000000U),
PLLPERIPH(227,      1, 0, 2724000000U),
PLLPERIPH(114,      0, 0, 2736000000U),
PLLPERIPH(229,      1, 0, 2748000000U),
PLLPERIPH(115,      0, 0, 2760000000U),
PLLPERIPH(231,      1, 0, 2772000000U),
PLLPERIPH(232,      1, 0, 2784000000U),
PLLPERIPH(233,      1, 0, 2796000000U),
PLLPERIPH(234,      1, 0, 2808000000U),
PLLPERIPH(235,      1, 0, 2820000000U),
PLLPERIPH(236,      1, 0, 2832000000U),
PLLPERIPH(237,      1, 0, 2844000000U),
PLLPERIPH(238,      1, 0, 2856000000U),
PLLPERIPH(239,      1, 0, 2868000000U),
PLLPERIPH(120,      0, 0, 2880000000U),
PLLPERIPH(241,      1, 0, 2892000000U),
PLLPERIPH(121,      0, 0, 2904000000U),
PLLPERIPH(243,      1, 0, 2916000000U),
PLLPERIPH(122,      0, 0, 2928000000U),
PLLPERIPH(245,      1, 0, 2940000000U),
PLLPERIPH(123,      0, 0, 2952000000U),
PLLPERIPH(247,      1, 0, 2964000000U),
PLLPERIPH(248,      1, 0, 2976000000U),
PLLPERIPH(249,      1, 0, 2988000000U),
PLLPERIPH(125,      0, 0, 3000000000U),
};

struct sunxi_clk_factor_freq factor_pllgpu_tbl[] = {
PLLGPU(28,       1, 1, 168000000U),
PLLGPU(29,       1, 1, 174000000U),
PLLGPU(30,       1, 1, 180000000U),
PLLGPU(31,       1, 1, 186000000U),
PLLGPU(16,       0, 1, 192000000U),
PLLGPU(33,       1, 1, 198000000U),
PLLGPU(34,       1, 1, 204000000U),
PLLGPU(35,       1, 1, 210000000U),
PLLGPU(36,       1, 1, 216000000U),
PLLGPU(37,       1, 1, 222000000U),
PLLGPU(38,       1, 1, 228000000U),
PLLGPU(39,       1, 1, 234000000U),
PLLGPU(40,       1, 1, 240000000U),
PLLGPU(41,       1, 1, 246000000U),
PLLGPU(21,       0, 1, 252000000U),
PLLGPU(43,       1, 1, 258000000U),
PLLGPU(44,       1, 1, 264000000U),
PLLGPU(45,       1, 1, 270000000U),
PLLGPU(23,       0, 1, 276000000U),
PLLGPU(47,       1, 1, 282000000U),
PLLGPU(24,       0, 1, 288000000U),
PLLGPU(49,       1, 1, 294000000U),
PLLGPU(50,       1, 1, 300000000U),
PLLGPU(51,       1, 1, 306000000U),
PLLGPU(26,       0, 1, 312000000U),
PLLGPU(53,       1, 1, 318000000U),
PLLGPU(27,       0, 1, 324000000U),
PLLGPU(55,       1, 1, 330000000U),
PLLGPU(28,       0, 1, 336000000U),
PLLGPU(57,       1, 1, 342000000U),
PLLGPU(29,       0, 1, 348000000U),
PLLGPU(59,       1, 1, 354000000U),
PLLGPU(30,       0, 1, 360000000U),
PLLGPU(61,       1, 1, 366000000U),
PLLGPU(31,       0, 1, 372000000U),
PLLGPU(63,       1, 1, 378000000U),
PLLGPU(64,       1, 1, 384000000U),
PLLGPU(65,       1, 1, 390000000U),
PLLGPU(66,       1, 1, 396000000U),
PLLGPU(67,       1, 1, 402000000U),
PLLGPU(68,       1, 1, 408000000U),
PLLGPU(69,       1, 1, 414000000U),
PLLGPU(70,       1, 1, 420000000U),
PLLGPU(71,       1, 1, 426000000U),
PLLGPU(36,       0, 1, 432000000U),
PLLGPU(73,       1, 1, 438000000U),
PLLGPU(37,       0, 1, 444000000U),
PLLGPU(75,       1, 1, 450000000U),
PLLGPU(76,       1, 1, 456000000U),
PLLGPU(77,       1, 1, 462000000U),
PLLGPU(78,       1, 1, 468000000U),
PLLGPU(79,       1, 1, 474000000U),
PLLGPU(80,       1, 1, 480000000U),
PLLGPU(81,       1, 1, 486000000U),
PLLGPU(82,       1, 1, 492000000U),
PLLGPU(83,       1, 1, 498000000U),
PLLGPU(42,       0, 1, 504000000U),
PLLGPU(85,       1, 1, 510000000U),
PLLGPU(43,       0, 1, 516000000U),
PLLGPU(87,       1, 1, 522000000U),
PLLGPU(44,       0, 1, 528000000U),
PLLGPU(89,       1, 1, 534000000U),
PLLGPU(45,       0, 1, 540000000U),
PLLGPU(91,       1, 1, 546000000U),
PLLGPU(92,       1, 1, 552000000U),
PLLGPU(93,       1, 1, 558000000U),
PLLGPU(94,       1, 1, 564000000U),
PLLGPU(95,       1, 1, 570000000U),
PLLGPU(48,       0, 1, 576000000U),
PLLGPU(97,       1, 1, 582000000U),
PLLGPU(98,       1, 1, 588000000U),
PLLGPU(99,       1, 1, 594000000U),
PLLGPU(50,       0, 1, 600000000U),
PLLGPU(101,       1, 1, 606000000U),
PLLGPU(102,       1, 1, 612000000U),
PLLGPU(103,       1, 1, 618000000U),
PLLGPU(52,       0, 1, 624000000U),
PLLGPU(105,       1, 1, 630000000U),
PLLGPU(53,       0, 1, 636000000U),
PLLGPU(107,       1, 1, 642000000U),
PLLGPU(54,       0, 1, 648000000U),
PLLGPU(109,       1, 1, 654000000U),
PLLGPU(55,       0, 1, 660000000U),
PLLGPU(111,       1, 1, 666000000U),
PLLGPU(56,       0, 1, 672000000U),
PLLGPU(113,       1, 1, 678000000U),
PLLGPU(114,       1, 1, 684000000U),
PLLGPU(115,       1, 1, 690000000U),
PLLGPU(116,       1, 1, 696000000U),
PLLGPU(117,       1, 1, 702000000U),
PLLGPU(118,       1, 1, 708000000U),
PLLGPU(119,       1, 1, 714000000U),
PLLGPU(60,        0, 1, 720000000U),
PLLGPU(121,       1, 1, 726000000U),
PLLGPU(122,       1, 1, 732000000U),
PLLGPU(123,       1, 1, 738000000U),
PLLGPU(124,       1, 1, 744000000U),
PLLGPU(125,       1, 1, 750000000U),
PLLGPU(126,       1, 1, 756000000U),
PLLGPU(127,       1, 1, 762000000U),
PLLGPU(64,        0, 1, 768000000U),
PLLGPU(129,       1, 1, 774000000U),
PLLGPU(130,       1, 1, 780000000U),
PLLGPU(131,       1, 1, 786000000U),
PLLGPU(132,       1, 1, 792000000U),
PLLGPU(133,       1, 1, 798000000U),
PLLGPU(134,       1, 1, 804000000U),
PLLGPU(135,       1, 1, 810000000U),
PLLGPU(68,        0, 1, 816000000U),
PLLGPU(137,       1, 1, 822000000U),
PLLGPU(138,       1, 1, 828000000U),
PLLGPU(139,       1, 1, 834000000U),
PLLGPU(70,        0, 1, 840000000U),
PLLGPU(141,       1, 1, 846000000U),
PLLGPU(71,        0, 1, 852000000U),
PLLGPU(143,       1, 1, 858000000U),
PLLGPU(144,       1, 1, 864000000U),
PLLGPU(145,       1, 1, 870000000U),
PLLGPU(73,        0, 1, 876000000U),
PLLGPU(147,       1, 1, 882000000U),
PLLGPU(148,       1, 1, 888000000U),
PLLGPU(149,       1, 1, 894000000U),
PLLGPU(150,       1, 1, 900000000U),
PLLGPU(151,       1, 1, 906000000U),
PLLGPU(152,       1, 1, 912000000U),
PLLGPU(153,       1, 1, 918000000U),
PLLGPU(154,       1, 1, 924000000U),
PLLGPU(155,       1, 1, 930000000U),
PLLGPU(156,       1, 1, 936000000U),
PLLGPU(157,       1, 1, 942000000U),
PLLGPU(158,       1, 1, 948000000U),
PLLGPU(159,       1, 1, 954000000U),
PLLGPU(160,       1, 1, 960000000U),
PLLGPU(161,       1, 1, 966000000U),
PLLGPU(162,       1, 1, 972000000U),
PLLGPU(163,       1, 1, 978000000U),
PLLGPU(82,        0, 1, 984000000U),
PLLGPU(165,       1, 1, 990000000U),
PLLGPU(166,       1, 1, 996000000U),
PLLGPU(167,       1, 1, 1002000000U),
PLLGPU(168,       1, 1, 1008000000U),
PLLGPU(169,       1, 1, 1014000000U),
PLLGPU(85,        0, 1, 1020000000U),
PLLGPU(171,       1, 1, 1026000000U),
PLLGPU(43,        0, 0, 1032000000U),
PLLGPU(173,       1, 1, 1038000000U),
PLLGPU(174,       1, 1, 1044000000U),
PLLGPU(175,       1, 1, 1050000000U),
PLLGPU(176,       1, 1, 1056000000U),
PLLGPU(177,       1, 1, 1062000000U),
PLLGPU(89,        0, 1, 1068000000U),
PLLGPU(179,       1, 1, 1074000000U),
PLLGPU(45,        0, 0, 1080000000U),
PLLGPU(181,       1, 1, 1086000000U),
PLLGPU(91,        0, 1, 1092000000U),
PLLGPU(183,       1, 1, 1098000000U),
PLLGPU(92,        0, 1, 1104000000U),
PLLGPU(185,       1, 1, 1110000000U),
PLLGPU(93,        0, 1, 1116000000U),
PLLGPU(187,       1, 1, 1122000000U),
PLLGPU(94,        0, 1, 1128000000U),
PLLGPU(189,       1, 1, 1134000000U),
PLLGPU(190,       1, 1, 1140000000U),
PLLGPU(191,       1, 1, 1146000000U),
PLLGPU(96,        1, 0, 1152000000U),
PLLGPU(193,       1, 1, 1158000000U),
PLLGPU(97,        1, 0, 1164000000U),
PLLGPU(195,       1, 1, 1170000000U),
PLLGPU(49,        0, 0, 1176000000U),
PLLGPU(197,       1, 1, 1182000000U),
PLLGPU(99,        1, 0, 1188000000U),
PLLGPU(199,       1, 1, 1194000000U),
PLLGPU(50,        0, 0, 1200000000U),
PLLGPU(201,       1, 1, 1206000000U),
PLLGPU(101,       0, 1, 1212000000U),
PLLGPU(203,       1, 1, 1218000000U),
PLLGPU(102,       0, 1, 1224000000U),
PLLGPU(205,       1, 1, 1230000000U),
PLLGPU(206,       1, 1, 1236000000U),
PLLGPU(207,       1, 1, 1242000000U),
PLLGPU(104,       0, 1, 1248000000U),
PLLGPU(209,       1, 1, 1254000000U),
PLLGPU(105,       0, 1, 1260000000U),
PLLGPU(211,       1, 1, 1266000000U),
PLLGPU(106,       1, 0, 1272000000U),
PLLGPU(213,       1, 1, 1278000000U),
PLLGPU(214,       1, 1, 1284000000U),
PLLGPU(215,       1, 1, 1290000000U),
PLLGPU(54,        0, 0, 1296000000U),
PLLGPU(217,       1, 1, 1302000000U),
PLLGPU(109,       0, 1, 1308000000U),
PLLGPU(219,       1, 1, 1314000000U),
PLLGPU(110,       0, 1, 1320000000U),
PLLGPU(221,       1, 1, 1326000000U),
PLLGPU(222,       1, 1, 1332000000U),
PLLGPU(223,       1, 1, 1338000000U),
PLLGPU(112,       0, 1, 1344000000U),
PLLGPU(225,       1, 1, 1350000000U),
PLLGPU(113,       0, 1, 1356000000U),
PLLGPU(227,       1, 1, 1362000000U),
PLLGPU(114,       0, 1, 1368000000U),
PLLGPU(229,       1, 1, 1374000000U),
PLLGPU(230,       1, 1, 1380000000U),
PLLGPU(231,       1, 1, 1386000000U),
PLLGPU(116,       0, 1, 1392000000U),
PLLGPU(233,       1, 1, 1398000000U),
PLLGPU(117,       0, 1, 1404000000U),
PLLGPU(235,       1, 1, 1410000000U),
PLLGPU(59,        0, 0, 1416000000U),
PLLGPU(237,       1, 1, 1422000000U),
PLLGPU(119,       0, 1, 1428000000U),
PLLGPU(239,       1, 1, 1434000000U),
PLLGPU(120,       0, 1, 1440000000U),
PLLGPU(241,       1, 1, 1446000000U),
PLLGPU(242,       1, 1, 1452000000U),
PLLGPU(243,       1, 1, 1458000000U),
PLLGPU(244,       1, 1, 1464000000U),
PLLGPU(245,       1, 1, 1470000000U),
PLLGPU(123,       0, 1, 1476000000U),
PLLGPU(247,       1, 1, 1482000000U),
PLLGPU(248,       1, 1, 1488000000U),
PLLGPU(249,       1, 1, 1494000000U),
PLLGPU(125,       0, 1, 1500000000U),
PLLGPU(126,       1, 0, 1512000000U),
PLLGPU(127,       0, 1, 1524000000U),
PLLGPU(128,       1, 0, 1536000000U),
PLLGPU(129,       0, 1, 1548000000U),
PLLGPU(65,        0, 0, 1560000000U),
PLLGPU(131,       0, 1, 1572000000U),
PLLGPU(132,       0, 1, 1584000000U),
PLLGPU(133,       1, 0, 1596000000U),
PLLGPU(67,        0, 0, 1608000000U),
PLLGPU(135,       0, 1, 1620000000U),
PLLGPU(136,       0, 1, 1632000000U),
PLLGPU(137,       1, 0, 1644000000U),
PLLGPU(138,       0, 1, 1656000000U),
PLLGPU(139,       1, 0, 1668000000U),
PLLGPU(70,        0, 0, 1680000000U),
PLLGPU(141,       0, 1, 1692000000U),
PLLGPU(142,       1, 0, 1704000000U),
PLLGPU(143,       1, 0, 1716000000U),
PLLGPU(144,       1, 0, 1728000000U),
PLLGPU(145,       1, 0, 1740000000U),
PLLGPU(146,       1, 0, 1752000000U),
PLLGPU(147,       1, 0, 1764000000U),
PLLGPU(148,       1, 0, 1776000000U),
PLLGPU(149,       1, 0, 1788000000U),
PLLGPU(75,        0, 0, 1800000000U),
PLLGPU(151,       1, 0, 1812000000U),
PLLGPU(152,       1, 0, 1824000000U),
PLLGPU(153,       1, 0, 1836000000U),
PLLGPU(77,        0, 0, 1848000000U),
PLLGPU(155,       1, 0, 1860000000U),
PLLGPU(156,       1, 0, 1872000000U),
PLLGPU(157,       1, 0, 1884000000U),
PLLGPU(158,       1, 0, 1896000000U),
PLLGPU(159,       1, 0, 1908000000U),
PLLGPU(80,        0, 0, 1920000000U),
PLLGPU(161,       1, 0, 1932000000U),
PLLGPU(162,       1, 0, 1944000000U),
PLLGPU(163,       1, 0, 1956000000U),
PLLGPU(82,        0, 0, 1968000000U),
PLLGPU(165,       1, 0, 1980000000U),
PLLGPU(83,        0, 0, 1992000000U),
PLLGPU(167,       1, 0, 2004000000U),
PLLGPU(84,        0, 0, 2016000000U),
PLLGPU(169,       1, 0, 2028000000U),
PLLGPU(85,        0, 0, 2040000000U),
PLLGPU(171,       1, 0, 2052000000U),
PLLGPU(172,       1, 0, 2064000000U),
PLLGPU(173,       1, 0, 2076000000U),
PLLGPU(174,       1, 0, 2088000000U),
PLLGPU(175,       1, 0, 2100000000U),
PLLGPU(176,       1, 0, 2112000000U),
PLLGPU(177,       1, 0, 2124000000U),
PLLGPU(178,       1, 0, 2136000000U),
PLLGPU(179,       1, 0, 2148000000U),
PLLGPU(180,       1, 0, 2160000000U),
PLLGPU(181,       1, 0, 2172000000U),
PLLGPU(91,        0, 0, 2184000000U),
PLLGPU(183,       1, 0, 2196000000U),
PLLGPU(184,       1, 0, 2208000000U),
PLLGPU(185,       1, 0, 2220000000U),
PLLGPU(93,        0, 0, 2232000000U),
PLLGPU(187,       1, 0, 2244000000U),
PLLGPU(188,       1, 0, 2256000000U),
PLLGPU(189,       1, 0, 2268000000U),
PLLGPU(95,        0, 0, 2280000000U),
PLLGPU(191,       1, 0, 2292000000U),
PLLGPU(192,       1, 0, 2304000000U),
PLLGPU(193,       1, 0, 2316000000U),
PLLGPU(97,        0, 0, 2328000000U),
PLLGPU(195,       1, 0, 2340000000U),
PLLGPU(98,        0, 0, 2352000000U),
PLLGPU(197,       1, 0, 2364000000U),
PLLGPU(198,       1, 0, 2376000000U),
PLLGPU(199,       1, 0, 2388000000U),
PLLGPU(200,       1, 0, 2400000000U),
PLLGPU(201,       1, 0, 2412000000U),
PLLGPU(101,       0, 0, 2424000000U),
PLLGPU(203,       1, 0, 2436000000U),
PLLGPU(204,       1, 0, 2448000000U),
PLLGPU(205,       1, 0, 2460000000U),
PLLGPU(206,       1, 0, 2472000000U),
PLLGPU(207,       1, 0, 2484000000U),
PLLGPU(208,       1, 0, 2496000000U),
PLLGPU(209,       1, 0, 2508000000U),
PLLGPU(210,       1, 0, 2520000000U),
PLLGPU(211,       1, 0, 2532000000U),
PLLGPU(106,       0, 0, 2544000000U),
PLLGPU(213,       1, 0, 2556000000U),
PLLGPU(107,       0, 0, 2568000000U),
PLLGPU(215,       1, 0, 2580000000U),
PLLGPU(216,       1, 0, 2592000000U),
PLLGPU(217,       1, 0, 2604000000U),
PLLGPU(109,       0, 0, 2616000000U),
PLLGPU(219,       1, 0, 2628000000U),
PLLGPU(220,       1, 0, 2640000000U),
PLLGPU(221,       1, 0, 2652000000U),
PLLGPU(111,       0, 0, 2664000000U),
PLLGPU(223,       1, 0, 2676000000U),
PLLGPU(112,       0, 0, 2688000000U),
PLLGPU(225,       1, 0, 2700000000U),
PLLGPU(113,       0, 0, 2712000000U),
PLLGPU(227,       1, 0, 2724000000U),
PLLGPU(228,       1, 0, 2736000000U),
PLLGPU(229,       1, 0, 2748000000U),
PLLGPU(115,       0, 0, 2760000000U),
PLLGPU(231,       1, 0, 2772000000U),
PLLGPU(116,       0, 0, 2784000000U),
PLLGPU(233,       1, 0, 2796000000U),
PLLGPU(234,       1, 0, 2808000000U),
PLLGPU(235,       1, 0, 2820000000U),
PLLGPU(118,       0, 0, 2832000000U),
PLLGPU(237,       1, 0, 2844000000U),
PLLGPU(238,       1, 0, 2856000000U),
PLLGPU(239,       1, 0, 2868000000U),
PLLGPU(240,       1, 0, 2880000000U),
PLLGPU(241,       1, 0, 2892000000U),
PLLGPU(242,       1, 0, 2904000000U),
PLLGPU(243,       1, 0, 2916000000U),
PLLGPU(122,       0, 0, 2928000000U),
PLLGPU(245,       1, 0, 2940000000U),
PLLGPU(123,       0, 0, 2952000000U),
PLLGPU(247,       1, 0, 2964000000U),
PLLGPU(124,       0, 0, 2976000000U),
PLLGPU(249,       1, 0, 2988000000U),
PLLGPU(250,       1, 0, 3000000000U),
};
struct sunxi_clk_factor_freq factor_pllhsic_tbl[] = {
PLLHSIC(30,       1,       1,       180000000U),
PLLHSIC(31,       1,       1,       186000000U),
PLLHSIC(32,       1,       1,       192000000U),
PLLHSIC(33,       1,       1,       198000000U),
PLLHSIC(17,       0,       1,       204000000U),
PLLHSIC(35,       1,       1,       210000000U),
PLLHSIC(18,       0,       1,       216000000U),
PLLHSIC(37,       1,       1,       222000000U),
PLLHSIC(19,       0,       1,       228000000U),
PLLHSIC(39,       1,       1,       234000000U),
PLLHSIC(40,       1,       1,       240000000U),
PLLHSIC(41,       1,       1,       246000000U),
PLLHSIC(42,       1,       1,       252000000U),
PLLHSIC(43,       1,       1,       258000000U),
PLLHSIC(44,       1,       1,       264000000U),
PLLHSIC(45,       1,       1,       270000000U),
PLLHSIC(46,       1,       1,       276000000U),
PLLHSIC(47,       1,       1,       282000000U),
PLLHSIC(24,       0,       1,       288000000U),
PLLHSIC(49,       1,       1,       294000000U),
PLLHSIC(50,       1,       1,       300000000U),
PLLHSIC(51,       1,       1,       306000000U),
PLLHSIC(26,       0,       1,       312000000U),
PLLHSIC(53,       1,       1,       318000000U),
PLLHSIC(54,       1,       1,       324000000U),
PLLHSIC(55,       1,       1,       330000000U),
PLLHSIC(28,       0,       1,       336000000U),
PLLHSIC(57,       1,       1,       342000000U),
PLLHSIC(29,       0,       1,       348000000U),
PLLHSIC(59,       1,       1,       354000000U),
PLLHSIC(30,       0,       1,       360000000U),
PLLHSIC(61,       1,       1,       366000000U),
PLLHSIC(31,       0,       1,       372000000U),
PLLHSIC(63,       1,       1,       378000000U),
PLLHSIC(32,       0,       1,       384000000U),
PLLHSIC(65,       1,       1,       390000000U),
PLLHSIC(66,       1,       1,       396000000U),
PLLHSIC(67,       1,       1,       402000000U),
PLLHSIC(68,       1,       1,       408000000U),
PLLHSIC(69,       1,       1,       414000000U),
PLLHSIC(35,       0,       1,       420000000U),
PLLHSIC(71,       1,       1,       426000000U),
PLLHSIC(36,       0,       1,       432000000U),
PLLHSIC(73,       1,       1,       438000000U),
PLLHSIC(74,       1,       1,       444000000U),
PLLHSIC(75,       1,       1,       450000000U),
PLLHSIC(76,       1,       1,       456000000U),
PLLHSIC(77,       1,       1,       462000000U),
PLLHSIC(78,       1,       1,       468000000U),
PLLHSIC(79,       1,       1,       474000000U),
PLLHSIC(80,       1,       1,       480000000U),
PLLHSIC(81,       1,       1,       486000000U),
PLLHSIC(82,       1,       1,       492000000U),
PLLHSIC(83,       1,       1,       498000000U),
PLLHSIC(84,       1,       1,       504000000U),
PLLHSIC(85,       1,       1,       510000000U),
PLLHSIC(86,       1,       1,       516000000U),
PLLHSIC(87,       1,       1,       522000000U),
PLLHSIC(44,       0,       1,       528000000U),
PLLHSIC(89,       1,       1,       534000000U),
PLLHSIC(90,       1,       1,       540000000U),
PLLHSIC(91,       1,       1,       546000000U),
PLLHSIC(46,       0,       1,       552000000U),
PLLHSIC(93,       1,       1,       558000000U),
PLLHSIC(94,       1,       1,       564000000U),
PLLHSIC(95,       1,       1,       570000000U),
PLLHSIC(96,       1,       1,       576000000U),
PLLHSIC(97,       1,       1,       582000000U),
PLLHSIC(49,       0,       1,       588000000U),
PLLHSIC(99,       1,       1,       594000000U),
PLLHSIC(50,       0,       1,       600000000U),
PLLHSIC(101,      1,       1,       606000000U),
PLLHSIC(51,       0,       1,       612000000U),
PLLHSIC(103,      1,       1,       618000000U),
PLLHSIC(52,       0,       1,       624000000U),
PLLHSIC(105,      1,       1,       630000000U),
PLLHSIC(53,       0,       1,       636000000U),
PLLHSIC(107,      1,       1,       642000000U),
PLLHSIC(108,      1,       1,       648000000U),
PLLHSIC(109,      1,       1,       654000000U),
PLLHSIC(55,       0,       1,       660000000U),
PLLHSIC(111,      1,       1,       666000000U),
PLLHSIC(56,       0,       1,       672000000U),
PLLHSIC(113,      1,       1,       678000000U),
PLLHSIC(114,      1,       1,       684000000U),
PLLHSIC(115,      1,       1,       690000000U),
PLLHSIC(116,      1,       1,       696000000U),
PLLHSIC(117,      1,       1,       702000000U),
PLLHSIC(59,       0,       1,       708000000U),
PLLHSIC(119,      1,       1,       714000000U),
PLLHSIC(120,      1,       1,       720000000U),
PLLHSIC(121,      1,       1,       726000000U),
PLLHSIC(122,      1,       1,       732000000U),
PLLHSIC(123,      1,       1,       738000000U),
PLLHSIC(62,       0,       1,       744000000U),
PLLHSIC(125,      1,       1,       750000000U),
PLLHSIC(126,      1,       1,       756000000U),
PLLHSIC(127,      1,       1,       762000000U),
PLLHSIC(128,      1,       1,       768000000U),
PLLHSIC(129,      1,       1,       774000000U),
PLLHSIC(65,       0,       1,       780000000U),
PLLHSIC(131,      1,       1,       786000000U),
PLLHSIC(66,       0,       1,       792000000U),
PLLHSIC(133,      1,       1,       798000000U),
PLLHSIC(134,      1,       1,       804000000U),
PLLHSIC(135,      1,       1,       810000000U),
PLLHSIC(136,      1,       1,       816000000U),
PLLHSIC(137,      1,       1,       822000000U),
PLLHSIC(138,      1,       1,       828000000U),
PLLHSIC(139,      1,       1,       834000000U),
PLLHSIC(70,       0,       1,       840000000U),
PLLHSIC(141,      1,       1,       846000000U),
PLLHSIC(71,       0,       1,       852000000U),
PLLHSIC(143,      1,       1,       858000000U),
PLLHSIC(144,      1,       1,       864000000U),
PLLHSIC(145,      1,       1,       870000000U),
PLLHSIC(73,       0,       1,       876000000U),
PLLHSIC(147,      1,       1,       882000000U),
PLLHSIC(74,       0,       1,       888000000U),
PLLHSIC(149,      1,       1,       894000000U),
PLLHSIC(150,      1,       1,       900000000U),
PLLHSIC(151,      1,       1,       906000000U),
PLLHSIC(152,      1,       1,       912000000U),
PLLHSIC(153,      1,       1,       918000000U),
PLLHSIC(77,       0,       1,       924000000U),
PLLHSIC(155,      1,       1,       930000000U),
PLLHSIC(78,       0,       1,       936000000U),
PLLHSIC(157,      1,       1,       942000000U),
PLLHSIC(158,      1,       1,       948000000U),
PLLHSIC(159,      1,       1,       954000000U),
PLLHSIC(80,       0,       1,       960000000U),
PLLHSIC(161,      1,       1,       966000000U),
PLLHSIC(162,      1,       1,       972000000U),
PLLHSIC(163,      1,       1,       978000000U),
PLLHSIC(41,       0,       0,       984000000U),
PLLHSIC(165,      1,       1,       990000000U),
PLLHSIC(83,       0,       1,       996000000U),
PLLHSIC(167,      1,       1,       1002000000U),
PLLHSIC(168,      1,       1,       1008000000U),
PLLHSIC(169,      1,       1,       1014000000U),
PLLHSIC(170,      1,       1,       1020000000U),
PLLHSIC(171,      1,       1,       1026000000U),
PLLHSIC(86,       1,       0,       1032000000U),
PLLHSIC(173,      1,       1,       1038000000U),
PLLHSIC(87,       1,       0,       1044000000U),
PLLHSIC(175,      1,       1,       1050000000U),
PLLHSIC(176,      1,       1,       1056000000U),
PLLHSIC(177,      1,       1,       1062000000U),
PLLHSIC(89,       1,       0,       1068000000U),
PLLHSIC(179,      1,       1,       1074000000U),
PLLHSIC(90,       1,       0,       1080000000U),
PLLHSIC(181,      1,       1,       1086000000U),
PLLHSIC(91,       1,       0,       1092000000U),
PLLHSIC(183,      1,       1,       1098000000U),
PLLHSIC(92,       0,       1,       1104000000U),
PLLHSIC(185,      1,       1,       1110000000U),
PLLHSIC(93,       0,       1,       1116000000U),
PLLHSIC(187,      1,       1,       1122000000U),
PLLHSIC(94,       0,       1,       1128000000U),
PLLHSIC(189,      1,       1,       1134000000U),
PLLHSIC(190,      1,       1,       1140000000U),
PLLHSIC(191,      1,       1,       1146000000U),
PLLHSIC(192,      1,       1,       1152000000U),
PLLHSIC(193,      1,       1,       1158000000U),
PLLHSIC(97,       0,       1,       1164000000U),
PLLHSIC(195,      1,       1,       1170000000U),
PLLHSIC(98,       1,       0,       1176000000U),
PLLHSIC(197,      1,       1,       1182000000U),
PLLHSIC(99,       0,       1,       1188000000U),
PLLHSIC(199,      1,       1,       1194000000U),
PLLHSIC(50,       0,       0,       1200000000U),
PLLHSIC(201,      1,       1,       1206000000U),
PLLHSIC(101,      1,       0,       1212000000U),
PLLHSIC(203,      1,       1,       1218000000U),
PLLHSIC(51,       0,       0,       1224000000U),
PLLHSIC(205,      1,       1,       1230000000U),
PLLHSIC(103,      1,       0,       1236000000U),
PLLHSIC(207,      1,       1,       1242000000U),
PLLHSIC(52,       0,       0,       1248000000U),
PLLHSIC(209,      1,       1,       1254000000U),
PLLHSIC(105,      0,       1,       1260000000U),
PLLHSIC(211,      1,       1,       1266000000U),
PLLHSIC(106,      1,       0,       1272000000U),
PLLHSIC(213,      1,       1,       1278000000U),
PLLHSIC(214,      1,       1,       1284000000U),
PLLHSIC(215,      1,       1,       1290000000U),
PLLHSIC(108,      0,       1,       1296000000U),
PLLHSIC(217,      1,       1,       1302000000U),
PLLHSIC(218,      1,       1,       1308000000U),
PLLHSIC(219,      1,       1,       1314000000U),
PLLHSIC(110,      0,       1,       1320000000U),
PLLHSIC(221,      1,       1,       1326000000U),
PLLHSIC(111,      1,       0,       1332000000U),
PLLHSIC(223,      1,       1,       1338000000U),
PLLHSIC(56,       0,       0,       1344000000U),
PLLHSIC(225,      1,       1,       1350000000U),
PLLHSIC(113,      1,       0,       1356000000U),
PLLHSIC(227,      1,       1,       1362000000U),
PLLHSIC(114,      1,       0,       1368000000U),
PLLHSIC(229,      1,       1,       1374000000U),
PLLHSIC(230,      1,       1,       1380000000U),
PLLHSIC(231,      1,       1,       1386000000U),
PLLHSIC(116,      0,       1,       1392000000U),
PLLHSIC(233,      1,       1,       1398000000U),
PLLHSIC(117,      1,       0,       1404000000U),
PLLHSIC(235,      1,       1,       1410000000U),
PLLHSIC(118,      1,       0,       1416000000U),
PLLHSIC(237,      1,       1,       1422000000U),
PLLHSIC(119,      0,       1,       1428000000U),
PLLHSIC(239,      1,       1,       1434000000U),
PLLHSIC(120,      0,       1,       1440000000U),
PLLHSIC(241,      1,       1,       1446000000U),
PLLHSIC(121,      1,       0,       1452000000U),
PLLHSIC(243,      1,       1,       1458000000U),
PLLHSIC(122,      0,       1,       1464000000U),
PLLHSIC(245,      1,       1,       1470000000U),
PLLHSIC(246,      1,       1,       1476000000U),
PLLHSIC(247,      1,       1,       1482000000U),
PLLHSIC(124,      1,       0,       1488000000U),
PLLHSIC(249,      1,       1,       1494000000U),
PLLHSIC(125,      1,       0,       1500000000U),
PLLHSIC(126,      1,       0,       1512000000U),
PLLHSIC(127,      0,       1,       1524000000U),
PLLHSIC(128,      1,       0,       1536000000U),
PLLHSIC(129,      0,       1,       1548000000U),
PLLHSIC(130,      1,       0,       1560000000U),
PLLHSIC(131,      0,       1,       1572000000U),
PLLHSIC(132,      1,       0,       1584000000U),
PLLHSIC(133,      1,       0,       1596000000U),
PLLHSIC(134,      0,       1,       1608000000U),
PLLHSIC(135,      1,       0,       1620000000U),
PLLHSIC(136,      0,       1,       1632000000U),
PLLHSIC(137,      1,       0,       1644000000U),
PLLHSIC(69,       0,       0,       1656000000U),
PLLHSIC(139,      0,       1,       1668000000U),
PLLHSIC(140,      0,       1,       1680000000U),
PLLHSIC(141,      1,       0,       1692000000U),
PLLHSIC(142,      1,       0,       1704000000U),
PLLHSIC(143,      1,       0,       1716000000U),
PLLHSIC(72,       0,       0,       1728000000U),
PLLHSIC(145,      1,       0,       1740000000U),
PLLHSIC(73,       0,       0,       1752000000U),
PLLHSIC(147,      1,       0,       1764000000U),
PLLHSIC(74,       0,       0,       1776000000U),
PLLHSIC(149,      1,       0,       1788000000U),
PLLHSIC(150,      1,       0,       1800000000U),
PLLHSIC(151,      1,       0,       1812000000U),
PLLHSIC(152,      1,       0,       1824000000U),
PLLHSIC(153,      1,       0,       1836000000U),
PLLHSIC(77,       0,       0,       1848000000U),
PLLHSIC(155,      1,       0,       1860000000U),
PLLHSIC(78,       0,       0,       1872000000U),
PLLHSIC(157,      1,       0,       1884000000U),
PLLHSIC(158,      1,       0,       1896000000U),
PLLHSIC(159,      1,       0,       1908000000U),
PLLHSIC(80,       0,       0,       1920000000U),
PLLHSIC(161,      1,       0,       1932000000U),
PLLHSIC(162,      1,       0,       1944000000U),
PLLHSIC(163,      1,       0,       1956000000U),
PLLHSIC(82,       0,       0,       1968000000U),
PLLHSIC(165,      1,       0,       1980000000U),
PLLHSIC(166,      1,       0,       1992000000U),
PLLHSIC(167,      1,       0,       2004000000U),
PLLHSIC(84,       0,       0,       2016000000U),
PLLHSIC(169,      1,       0,       2028000000U),
PLLHSIC(170,      1,       0,       2040000000U),
PLLHSIC(171,      1,       0,       2052000000U),
PLLHSIC(86,       0,       0,       2064000000U),
PLLHSIC(173,      1,       0,       2076000000U),
PLLHSIC(87,       0,       0,       2088000000U),
PLLHSIC(175,      1,       0,       2100000000U),
PLLHSIC(88,       0,       0,       2112000000U),
PLLHSIC(177,      1,       0,       2124000000U),
PLLHSIC(178,      1,       0,       2136000000U),
PLLHSIC(179,      1,       0,       2148000000U),
PLLHSIC(180,      1,       0,       2160000000U),
PLLHSIC(181,      1,       0,       2172000000U),
PLLHSIC(91,       0,       0,       2184000000U),
PLLHSIC(183,      1,       0,       2196000000U),
PLLHSIC(184,      1,       0,       2208000000U),
PLLHSIC(185,      1,       0,       2220000000U),
PLLHSIC(186,      1,       0,       2232000000U),
PLLHSIC(187,      1,       0,       2244000000U),
PLLHSIC(188,      1,       0,       2256000000U),
PLLHSIC(189,      1,       0,       2268000000U),
PLLHSIC(190,      1,       0,       2280000000U),
PLLHSIC(191,      1,       0,       2292000000U),
PLLHSIC(96,       0,       0,       2304000000U),
PLLHSIC(193,      1,       0,       2316000000U),
PLLHSIC(97,       0,       0,       2328000000U),
PLLHSIC(195,      1,       0,       2340000000U),
PLLHSIC(98,       0,       0,       2352000000U),
PLLHSIC(197,      1,       0,       2364000000U),
PLLHSIC(99,       0,       0,       2376000000U),
PLLHSIC(199,      1,       0,       2388000000U),
PLLHSIC(100,      0,       0,       2400000000U),
PLLHSIC(201,      1,       0,       2412000000U),
PLLHSIC(101,      0,       0,       2424000000U),
PLLHSIC(203,      1,       0,       2436000000U),
PLLHSIC(102,      0,       0,       2448000000U),
PLLHSIC(205,      1,       0,       2460000000U),
PLLHSIC(206,      1,       0,       2472000000U),
PLLHSIC(207,      1,       0,       2484000000U),
PLLHSIC(104,      0,       0,       2496000000U),
PLLHSIC(209,      1,       0,       2508000000U),
PLLHSIC(210,      1,       0,       2520000000U),
PLLHSIC(211,      1,       0,       2532000000U),
PLLHSIC(212,      1,       0,       2544000000U),
PLLHSIC(213,      1,       0,       2556000000U),
PLLHSIC(107,      0,       0,       2568000000U),
PLLHSIC(215,      1,       0,       2580000000U),
PLLHSIC(108,      0,       0,       2592000000U),
PLLHSIC(217,      1,       0,       2604000000U),
PLLHSIC(109,      0,       0,       2616000000U),
PLLHSIC(219,      1,       0,       2628000000U),
PLLHSIC(110,      0,       0,       2640000000U),
PLLHSIC(221,      1,       0,       2652000000U),
PLLHSIC(111,      0,       0,       2664000000U),
PLLHSIC(223,      1,       0,       2676000000U),
PLLHSIC(224,      1,       0,       2688000000U),
PLLHSIC(225,      1,       0,       2700000000U),
PLLHSIC(113,      0,       0,       2712000000U),
PLLHSIC(227,      1,       0,       2724000000U),
PLLHSIC(228,      1,       0,       2736000000U),
PLLHSIC(229,      1,       0,       2748000000U),
PLLHSIC(115,      0,       0,       2760000000U),
PLLHSIC(231,      1,       0,       2772000000U),
PLLHSIC(116,      0,       0,       2784000000U),
PLLHSIC(233,      1,       0,       2796000000U),
PLLHSIC(234,      1,       0,       2808000000U),
PLLHSIC(235,      1,       0,       2820000000U),
PLLHSIC(118,      0,       0,       2832000000U),
PLLHSIC(237,      1,       0,       2844000000U),
PLLHSIC(119,      0,       0,       2856000000U),
PLLHSIC(239,      1,       0,       2868000000U),
PLLHSIC(240,      1,       0,       2880000000U),
PLLHSIC(241,      1,       0,       2892000000U),
PLLHSIC(121,      0,       0,       2904000000U),
PLLHSIC(243,      1,       0,       2916000000U),
PLLHSIC(244,      1,       0,       2928000000U),
PLLHSIC(245,      1,       0,       2940000000U),
PLLHSIC(246,      1,       0,       2952000000U),
PLLHSIC(247,      1,       0,       2964000000U),
PLLHSIC(248,      1,       0,       2976000000U),
PLLHSIC(249,      1,       0,       2988000000U),
PLLHSIC(250,      1,       0,       3000000000U),
};
struct sunxi_clk_factor_freq factor_pllde_tbl[] = {
PLLDE(15,       0,       1,       180000000U),
PLLDE(16,       0,       1,       192000000U),
PLLDE(34,       1,       1,       204000000U),
PLLDE(35,       1,       1,       210000000U),
PLLDE(18,       0,       1,       216000000U),
PLLDE(37,       1,       1,       222000000U),
PLLDE(19,       0,       1,       228000000U),
PLLDE(39,       1,       1,       234000000U),
PLLDE(20,       0,       1,       240000000U),
PLLDE(41,       1,       1,       246000000U),
PLLDE(21,       0,       1,       252000000U),
PLLDE(43,       1,       1,       258000000U),
PLLDE(22,       0,       1,       264000000U),
PLLDE(45,       1,       1,       270000000U),
PLLDE(46,       1,       1,       276000000U),
PLLDE(47,       1,       1,       282000000U),
PLLDE(24,       0,       1,       288000000U),
PLLDE(49,       1,       1,       294000000U),
PLLDE(25,       0,       1,       300000000U),
PLLDE(51,       1,       1,       306000000U),
PLLDE(52,       1,       1,       312000000U),
PLLDE(53,       1,       1,       318000000U),
PLLDE(54,       1,       1,       324000000U),
PLLDE(55,       1,       1,       330000000U),
PLLDE(56,       1,       1,       336000000U),
PLLDE(57,       1,       1,       342000000U),
PLLDE(58,       1,       1,       348000000U),
PLLDE(59,       1,       1,       354000000U),
PLLDE(60,       1,       1,       360000000U),
PLLDE(61,       1,       1,       366000000U),
PLLDE(62,       1,       1,       372000000U),
PLLDE(63,       1,       1,       378000000U),
PLLDE(32,       0,       1,       384000000U),
PLLDE(65,       1,       1,       390000000U),
PLLDE(66,       1,       1,       396000000U),
PLLDE(67,       1,       1,       402000000U),
PLLDE(68,       1,       1,       408000000U),
PLLDE(69,       1,       1,       414000000U),
PLLDE(35,       0,       1,       420000000U),
PLLDE(71,       1,       1,       426000000U),
PLLDE(36,       0,       1,       432000000U),
PLLDE(73,       1,       1,       438000000U),
PLLDE(74,       1,       1,       444000000U),
PLLDE(75,       1,       1,       450000000U),
PLLDE(76,       1,       1,       456000000U),
PLLDE(77,       1,       1,       462000000U),
PLLDE(39,       0,       1,       468000000U),
PLLDE(79,       1,       1,       474000000U),
PLLDE(80,       1,       1,       480000000U),
PLLDE(81,       1,       1,       486000000U),
PLLDE(41,       0,       1,       492000000U),
PLLDE(83,       1,       1,       498000000U),
PLLDE(84,       1,       1,       504000000U),
PLLDE(85,       1,       1,       510000000U),
PLLDE(86,       1,       1,       516000000U),
PLLDE(87,       1,       1,       522000000U),
PLLDE(44,       0,       1,       528000000U),
PLLDE(89,       1,       1,       534000000U),
PLLDE(90,       1,       1,       540000000U),
PLLDE(91,       1,       1,       546000000U),
PLLDE(46,       0,       1,       552000000U),
PLLDE(93,       1,       1,       558000000U),
PLLDE(94,       1,       1,       564000000U),
PLLDE(95,       1,       1,       570000000U),
PLLDE(48,       0,       1,       576000000U),
PLLDE(97,       1,       1,       582000000U),
PLLDE(49,       0,       1,       588000000U),
PLLDE(99,       1,       1,       594000000U),
PLLDE(100,      1,       1,       600000000U),
PLLDE(101,      1,       1,       606000000U),
PLLDE(102,      1,       1,       612000000U),
PLLDE(103,      1,       1,       618000000U),
PLLDE(52,       0,       1,       624000000U),
PLLDE(105,      1,       1,       630000000U),
PLLDE(106,      1,       1,       636000000U),
PLLDE(107,      1,       1,       642000000U),
PLLDE(108,      1,       1,       648000000U),
PLLDE(109,      1,       1,       654000000U),
PLLDE(55,       0,       1,       660000000U),
PLLDE(111,      1,       1,       666000000U),
PLLDE(56,       0,       1,       672000000U),
PLLDE(113,      1,       1,       678000000U),
PLLDE(57,       0,       1,       684000000U),
PLLDE(115,      1,       1,       690000000U),
PLLDE(58,       0,       1,       696000000U),
PLLDE(117,      1,       1,       702000000U),
PLLDE(118,      1,       1,       708000000U),
PLLDE(119,      1,       1,       714000000U),
PLLDE(60,       0,       1,       720000000U),
PLLDE(121,      1,       1,       726000000U),
PLLDE(61,       0,       1,       732000000U),
PLLDE(123,      1,       1,       738000000U),
PLLDE(62,       0,       1,       744000000U),
PLLDE(125,      1,       1,       750000000U),
PLLDE(63,       0,       1,       756000000U),
PLLDE(127,      1,       1,       762000000U),
PLLDE(64,       0,       1,       768000000U),
PLLDE(129,      1,       1,       774000000U),
PLLDE(65,       0,       1,       780000000U),
PLLDE(131,      1,       1,       786000000U),
PLLDE(132,      1,       1,       792000000U),
PLLDE(133,      1,       1,       798000000U),
PLLDE(134,      1,       1,       804000000U),
PLLDE(135,      1,       1,       810000000U),
PLLDE(136,      1,       1,       816000000U),
PLLDE(137,      1,       1,       822000000U),
PLLDE(69,       0,       1,       828000000U),
PLLDE(139,      1,       1,       834000000U),
PLLDE(140,      1,       1,       840000000U),
PLLDE(141,      1,       1,       846000000U),
PLLDE(71,       0,       1,       852000000U),
PLLDE(143,      1,       1,       858000000U),
PLLDE(72,       0,       1,       864000000U),
PLLDE(145,      1,       1,       870000000U),
PLLDE(73,       0,       1,       876000000U),
PLLDE(147,      1,       1,       882000000U),
PLLDE(74,       0,       1,       888000000U),
PLLDE(149,      1,       1,       894000000U),
PLLDE(150,      1,       1,       900000000U),
PLLDE(151,      1,       1,       906000000U),
PLLDE(152,      1,       1,       912000000U),
PLLDE(153,      1,       1,       918000000U),
PLLDE(77,       0,       1,       924000000U),
PLLDE(155,      1,       1,       930000000U),
PLLDE(78,       1,       0,       936000000U),
PLLDE(157,      1,       1,       942000000U),
PLLDE(158,      1,       1,       948000000U),
PLLDE(159,      1,       1,       954000000U),
PLLDE(160,      1,       1,       960000000U),
PLLDE(161,      1,       1,       966000000U),
PLLDE(81,       1,       0,       972000000U),
PLLDE(163,      1,       1,       978000000U),
PLLDE(82,       0,       1,       984000000U),
PLLDE(165,      1,       1,       990000000U),
PLLDE(83,       0,       1,       996000000U),
PLLDE(167,      1,       1,       1002000000U),
PLLDE(42,       0,       0,       1008000000U),
PLLDE(169,      1,       1,       1014000000U),
PLLDE(170,      1,       1,       1020000000U),
PLLDE(171,      1,       1,       1026000000U),
PLLDE(43,       0,       0,       1032000000U),
PLLDE(173,      1,       1,       1038000000U),
PLLDE(87,       0,       1,       1044000000U),
PLLDE(175,      1,       1,       1050000000U),
PLLDE(176,      1,       1,       1056000000U),
PLLDE(177,      1,       1,       1062000000U),
PLLDE(89,       1,       0,       1068000000U),
PLLDE(179,      1,       1,       1074000000U),
PLLDE(90,       0,       1,       1080000000U),
PLLDE(181,      1,       1,       1086000000U),
PLLDE(91,       1,       0,       1092000000U),
PLLDE(183,      1,       1,       1098000000U),
PLLDE(92,       0,       1,       1104000000U),
PLLDE(185,      1,       1,       1110000000U),
PLLDE(186,      1,       1,       1116000000U),
PLLDE(187,      1,       1,       1122000000U),
PLLDE(94,       0,       1,       1128000000U),
PLLDE(189,      1,       1,       1134000000U),
PLLDE(95,       0,       1,       1140000000U),
PLLDE(191,      1,       1,       1146000000U),
PLLDE(96,       0,       1,       1152000000U),
PLLDE(193,      1,       1,       1158000000U),
PLLDE(97,       0,       1,       1164000000U),
PLLDE(195,      1,       1,       1170000000U),
PLLDE(49,       0,       0,       1176000000U),
PLLDE(197,      1,       1,       1182000000U),
PLLDE(99,       0,       1,       1188000000U),
PLLDE(199,      1,       1,       1194000000U),
PLLDE(200,      1,       1,       1200000000U),
PLLDE(201,      1,       1,       1206000000U),
PLLDE(101,      1,       0,       1212000000U),
PLLDE(203,      1,       1,       1218000000U),
PLLDE(51,       0,       0,       1224000000U),
PLLDE(205,      1,       1,       1230000000U),
PLLDE(206,      1,       1,       1236000000U),
PLLDE(207,      1,       1,       1242000000U),
PLLDE(208,      1,       1,       1248000000U),
PLLDE(209,      1,       1,       1254000000U),
PLLDE(105,      0,       1,       1260000000U),
PLLDE(211,      1,       1,       1266000000U),
PLLDE(106,      1,       0,       1272000000U),
PLLDE(213,      1,       1,       1278000000U),
PLLDE(107,      1,       0,       1284000000U),
PLLDE(215,      1,       1,       1290000000U),
PLLDE(108,      0,       1,       1296000000U),
PLLDE(217,      1,       1,       1302000000U),
PLLDE(109,      0,       1,       1308000000U),
PLLDE(219,      1,       1,       1314000000U),
PLLDE(110,      0,       1,       1320000000U),
PLLDE(221,      1,       1,       1326000000U),
PLLDE(111,      1,       0,       1332000000U),
PLLDE(223,      1,       1,       1338000000U),
PLLDE(224,      1,       1,       1344000000U),
PLLDE(225,      1,       1,       1350000000U),
PLLDE(226,      1,       1,       1356000000U),
PLLDE(227,      1,       1,       1362000000U),
PLLDE(228,      1,       1,       1368000000U),
PLLDE(229,      1,       1,       1374000000U),
PLLDE(115,      0,       1,       1380000000U),
PLLDE(231,      1,       1,       1386000000U),
PLLDE(116,      1,       0,       1392000000U),
PLLDE(233,      1,       1,       1398000000U),
PLLDE(234,      1,       1,       1404000000U),
PLLDE(235,      1,       1,       1410000000U),
PLLDE(118,      0,       1,       1416000000U),
PLLDE(237,      1,       1,       1422000000U),
PLLDE(119,      0,       1,       1428000000U),
PLLDE(239,      1,       1,       1434000000U),
PLLDE(120,      1,       0,       1440000000U),
PLLDE(241,      1,       1,       1446000000U),
PLLDE(121,      0,       1,       1452000000U),
PLLDE(243,      1,       1,       1458000000U),
PLLDE(61,       0,       0,       1464000000U),
PLLDE(245,      1,       1,       1470000000U),
PLLDE(123,      0,       1,       1476000000U),
PLLDE(247,      1,       1,       1482000000U),
PLLDE(124,      0,       1,       1488000000U),
PLLDE(249,      1,       1,       1494000000U),
PLLDE(250,      1,       1,       1500000000U),
PLLDE(63,       0,       0,       1512000000U),
PLLDE(127,      1,       0,       1524000000U),
PLLDE(128,      0,       1,       1536000000U),
PLLDE(129,      0,       1,       1548000000U),
PLLDE(130,      1,       0,       1560000000U),
PLLDE(131,      0,       1,       1572000000U),
PLLDE(132,      1,       0,       1584000000U),
PLLDE(133,      1,       0,       1596000000U),
PLLDE(67,       0,       0,       1608000000U),
PLLDE(135,      1,       0,       1620000000U),
PLLDE(136,      1,       0,       1632000000U),
PLLDE(137,      0,       1,       1644000000U),
PLLDE(138,      0,       1,       1656000000U),
PLLDE(139,      0,       1,       1668000000U),
PLLDE(140,      1,       0,       1680000000U),
PLLDE(141,      1,       0,       1692000000U),
PLLDE(71,       0,       0,       1704000000U),
PLLDE(143,      1,       0,       1716000000U),
PLLDE(72,       0,       0,       1728000000U),
PLLDE(145,      1,       0,       1740000000U),
PLLDE(73,       0,       0,       1752000000U),
PLLDE(147,      1,       0,       1764000000U),
PLLDE(148,      1,       0,       1776000000U),
PLLDE(149,      1,       0,       1788000000U),
PLLDE(75,       0,       0,       1800000000U),
PLLDE(151,      1,       0,       1812000000U),
PLLDE(76,       0,       0,       1824000000U),
PLLDE(153,      1,       0,       1836000000U),
PLLDE(77,       0,       0,       1848000000U),
PLLDE(155,      1,       0,       1860000000U),
PLLDE(156,      1,       0,       1872000000U),
PLLDE(157,      1,       0,       1884000000U),
PLLDE(158,      1,       0,       1896000000U),
PLLDE(159,      1,       0,       1908000000U),
PLLDE(80,       0,       0,       1920000000U),
PLLDE(161,      1,       0,       1932000000U),
PLLDE(81,       0,       0,       1944000000U),
PLLDE(163,      1,       0,       1956000000U),
PLLDE(164,      1,       0,       1968000000U),
PLLDE(165,      1,       0,       1980000000U),
PLLDE(166,      1,       0,       1992000000U),
PLLDE(167,      1,       0,       2004000000U),
PLLDE(84,       0,       0,       2016000000U),
PLLDE(169,      1,       0,       2028000000U),
PLLDE(170,      1,       0,       2040000000U),
PLLDE(171,      1,       0,       2052000000U),
PLLDE(86,       0,       0,       2064000000U),
PLLDE(173,      1,       0,       2076000000U),
PLLDE(174,      1,       0,       2088000000U),
PLLDE(175,      1,       0,       2100000000U),
PLLDE(176,      1,       0,       2112000000U),
PLLDE(177,      1,       0,       2124000000U),
PLLDE(178,      1,       0,       2136000000U),
PLLDE(179,      1,       0,       2148000000U),
PLLDE(180,      1,       0,       2160000000U),
PLLDE(181,      1,       0,       2172000000U),
PLLDE(182,      1,       0,       2184000000U),
PLLDE(183,      1,       0,       2196000000U),
PLLDE(184,      1,       0,       2208000000U),
PLLDE(185,      1,       0,       2220000000U),
PLLDE(186,      1,       0,       2232000000U),
PLLDE(187,      1,       0,       2244000000U),
PLLDE(94,       0,       0,       2256000000U),
PLLDE(189,      1,       0,       2268000000U),
PLLDE(95,       0,       0,       2280000000U),
PLLDE(191,      1,       0,       2292000000U),
PLLDE(96,       0,       0,       2304000000U),
PLLDE(193,      1,       0,       2316000000U),
PLLDE(97,       0,       0,       2328000000U),
PLLDE(195,      1,       0,       2340000000U),
PLLDE(98,       0,       0,       2352000000U),
PLLDE(197,      1,       0,       2364000000U),
PLLDE(198,      1,       0,       2376000000U),
PLLDE(199,      1,       0,       2388000000U),
PLLDE(100,      0,       0,       2400000000U),
PLLDE(201,      1,       0,       2412000000U),
PLLDE(101,      0,       0,       2424000000U),
PLLDE(203,      1,       0,       2436000000U),
PLLDE(102,      0,       0,       2448000000U),
PLLDE(205,      1,       0,       2460000000U),
PLLDE(103,      0,       0,       2472000000U),
PLLDE(207,      1,       0,       2484000000U),
PLLDE(104,      0,       0,       2496000000U),
PLLDE(209,      1,       0,       2508000000U),
PLLDE(210,      1,       0,       2520000000U),
PLLDE(211,      1,       0,       2532000000U),
PLLDE(106,      0,       0,       2544000000U),
PLLDE(213,      1,       0,       2556000000U),
PLLDE(214,      1,       0,       2568000000U),
PLLDE(215,      1,       0,       2580000000U),
PLLDE(108,      0,       0,       2592000000U),
PLLDE(217,      1,       0,       2604000000U),
PLLDE(218,      1,       0,       2616000000U),
PLLDE(219,      1,       0,       2628000000U),
PLLDE(110,      0,       0,       2640000000U),
PLLDE(221,      1,       0,       2652000000U),
PLLDE(111,      0,       0,       2664000000U),
PLLDE(223,      1,       0,       2676000000U),
PLLDE(112,      0,       0,       2688000000U),
PLLDE(225,      1,       0,       2700000000U),
PLLDE(113,      0,       0,       2712000000U),
PLLDE(227,      1,       0,       2724000000U),
PLLDE(114,      0,       0,       2736000000U),
PLLDE(229,      1,       0,       2748000000U),
PLLDE(115,      0,       0,       2760000000U),
PLLDE(231,      1,       0,       2772000000U),
PLLDE(116,      0,       0,       2784000000U),
PLLDE(233,      1,       0,       2796000000U),
PLLDE(234,      1,       0,       2808000000U),
PLLDE(235,      1,       0,       2820000000U),
PLLDE(236,      1,       0,       2832000000U),
PLLDE(237,      1,       0,       2844000000U),
PLLDE(119,      0,       0,       2856000000U),
PLLDE(239,      1,       0,       2868000000U),
PLLDE(120,      0,       0,       2880000000U),
PLLDE(241,      1,       0,       2892000000U),
PLLDE(121,      0,       0,       2904000000U),
PLLDE(243,      1,       0,       2916000000U),
PLLDE(244,      1,       0,       2928000000U),
PLLDE(245,      1,       0,       2940000000U),
PLLDE(246,      1,       0,       2952000000U),
PLLDE(247,      1,       0,       2964000000U),
PLLDE(124,      0,       0,       2976000000U),
PLLDE(249,      1,       0,       2988000000U),
PLLDE(250,      1,       0,       3000000000U),
};

static unsigned int pllcpu0_max, pllcpu1_max, pllvideo_max,
		    pllve_max, pllddr_max, pllperiph_max,
		    pllgpu_max, pllhsic_max, pllde_max;

#define PLL_MAX_ASSIGN(name) (pll##name##_max = \
	factor_pll##name##_tbl[ARRAY_SIZE(factor_pll##name##_tbl)-1].freq)

void sunxi_clk_factor_initlimits(void)
{
	PLL_MAX_ASSIGN(cpu0);
	PLL_MAX_ASSIGN(cpu1);
	PLL_MAX_ASSIGN(video);
	PLL_MAX_ASSIGN(ve);
	PLL_MAX_ASSIGN(ddr);
	PLL_MAX_ASSIGN(periph);
	PLL_MAX_ASSIGN(gpu);
	PLL_MAX_ASSIGN(hsic);
	PLL_MAX_ASSIGN(de);
}
